FANDOM



RectangleShape

RectangleShapes define a rectangular area to be used with other script elements.

FieldsEdit

RectangleShapes have three fields:

  • Width: Decimal number. Horizontal dimension of the shape.
  • Height: Decimal number. Vertical dimension of the shape.
  • ActorTypes: Check-boxes (Player, Enemy, Allied, Neutral). Determine what types of entities trigger script elements attached to this shape.

TipsEdit

Mainly used with an AreaTrigger script to define the area of a button to be pressed.

Also used with LevelExitArea to define the exit of a level, DangerArea, ShopArea, and AllPlayersAreaTrigger.