LogoUndefined Creations
Modules/Display

Interaction

Interaction entities are entities that allow you to make custom hitboxes. These are useful to make custom box hitboxes.

Interaction Entity

Height

Interaction entities allow you to modify the height. We can modify this by using .setHeight(float):

Interaction interaction = new Interaction(spawnLocation);
interaction.setHeight(2f);

Width

Interaction entities also allow you to modify the width. We can modify this by using .setWidth(float):

Interaction interaction = new Interaction(spawnLocation);
interaction.setWidth(2f);

On this page