Skip to main content

Layout

Layout is a behavior that causes an actor to have a physical body with an x and y coordinate, rotation, and scale in card space.

All Castle blueprints automatically have the layout behavior. Having a body is required to add motion and physics, detect collisions, and respond to controls like dragging or tapping.

You can set the position and layout properties of an actor either by placing it directly in the scene from the Belt, creating it with a Rule, or modifying its properties from Rules or Scripts.