file: KeepInBoundsComponent.aus

class: KeepInBoundsComponent

[16:7] extends: Component

Wraps FXGL's KeepInBoundsComponent (com.almasb.fxgl.dsl.components.KeepInBoundsComponent). Constrains the entity inside a Rectangle2D bounds region; can be limited to X axis only, Y axis only, or both. Entities with physics enabled are not supported.

Methods