Legacy Reference

Engine Nodes

Flow Graph is deprecated and will be removed in a future version of Lumberyard. Learn about Script Canvas, Lumberyard's new visual scripting environment.

This topic references tools and features that are legacy. If you want to use legacy tools in Lumberyard Editor, disable the CryEntity Removal gem using the Project Configurator or the command line. To learn about the latest features, see the Amazon Lumberyard User Guide.

You can use the following flow graph nodes to configure various Lumberyard engine settings.

LayerSwitch node

Used to activate and deactivate objects in a layer, as well as streaming in data to a layer.


Port Type Description
Layer String Name of the layer
Hide Any Hides objects in the layer
Unhide Any Shows objects in the layer
EnableSerialization Any Enables objects in the layer
DisableSerialization Any Disables objects in the layer


Port Type Description
Hidden Any Triggered if hidden
Unhidden Any Triggered if visible

PortalSwitch node

Used to switch the portal on or off.


Port Type Description
Activate Any Activates the portal switch
Deactivate Any Deactivates the portal switch

PrecacheArea node

Used to precache an area at a specified location


Port Type Description
Position Vec3 Location of the area to be precached
Timeout Float Timeout interval in seconds
Activate Any Activates the node

Viewport node

Used to get current viewport information.


Port Type Description
Get Any Gets the current viewport information


Port Type Description
x Integer Outputs the top left X position of the viewport
y Integer Outputs the top left Y position of the viewport
width Integer Outputs the width of the viewport
height Integer Outputs the height of the viewport