Sizeable Module Panel

Parent

This panel allows for dynamic sizeing. For placing on walls.

Properties

height : Int

The Height of this panel in modules

Details
Flags ReadOnly RuntimeSync RuntimeParallel

Display Name

Height

width : Int

The Width of this panel in modules

Details
Flags ReadOnly RuntimeSync RuntimeParallel

Display Name

Width

Functions

getModules () → modules : Array<Object<Object>>

Returns all modules placed on the panel.

Details

Flags

RuntimeSync RuntimeParallel MemberFunc

Display Name

Get All Modules

Return Values
Name Type Description

Modules modules

Array<Object<Object>>

All the modules placed on the panel.

getModule (x : Int, y : Int) → module : Object<Actor>

Returns the module placed at the given location on the panel.

Details

Flags

RuntimeSync RuntimeParallel MemberFunc

Display Name

Get Module

Parameters
Name Type Description

X x

Int

The x position of the command point, starting from the non-cable end. Indexing starts at 0.

Y y

Int

The y position of the command point, starting from the non-cable end. Indexing starts at 0.

Return Values
Name Type Description

Module module

Object<Actor>

The module you want to get. Null if no module was placed.