Menu
Contents

Turnout right 45° rail tile

$object.turnoutright45railtile:description$

Properties

id
Object id, each object has a unique id.
name
Turnout name.
position
Current turnout position, a Turnout position value. To change the turnout position call set_position.

Methods

set_position

set_position(position)

Change turnout position.

Parameters

position
Requested turnout position, a Turnout position value.

Return values

true if the position is changed, false if position value is invalid or turnout is locked e.g. due to a reserved path.