Component: Wood Gate (Advanced Shapes)

From Flowcode Help
Jump to navigationJump to search


Author Matrix TSL
Version 1.0 (Release)
Category Advanced Shapes


Image Wood Gate component

A simple gate that can be opened and closed via simulation macros. Used to control the flow of objects in the Flowcode simulator.

Examples

No additional examples


Downloadable macro reference

This component does not contain any downloadable macros

Simulation macro reference

ControlGate

Allows the gate to be opened or closed.

Parameters

BOOL State
0 = Closed, 1 = Open


Return value

This call does not return a value


CheckGate

Determines if the gate is currently open or closed.

0 = Gate Closed, 1 = Gate Open

Parameters

This macro has no parameters


Return value

BYTE



Property reference

Default State

This property is of type Fixed list of ints and can be referenced with the variable name DefaultState.

Sets the default state of the gate when simulation starts.

Color

This property is of type Color picker and can be referenced with the variable name Color.

No additional information