Lumberyard
Legacy Reference

UIe Transform Component 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.

Use the following flow graph nodes to perform actions on the transform component.

UIe:Transform:GetCanvasPosition Node

Gets the position of an element in canvas space.

Node Inputs

Activate

Updates the outputs.

ElementName

Name of the element.

ElementID

The element Id. Used if ElementName is empty.

Node Outputs

XPosition

The x position of the element in canvas space.

YPosition

The y position of the element in canvas space.

UIe:Transform:SetCanvasPosition Node

Sets the position of an element in canvas space.

Node Inputs

Activate

Sets the position of the element in canvas space.

ElementName

Name of the element.

ElementID

The element Id. Used if ElementName is empty.

XPosition

The x position of the element in canvas space.

YPosition

The y position of the element in canvas space.

Node Outputs

Done

Sends a signal when the node's action is finished.

UIe:Transform:GetLocalPosition Node

Gets the relative position of an element from the center of the element's anchors.

Node Inputs

Activate

Updates the output.

ElementName

Name of the element.

ElementID

The element Id. Used if ElementName is empty.

Node Outputs

XPosition

The relative x position of the element.

YPosition

The relative y position of the element.

UIe:Transform:SetLocalPosition Node

Sets the relative position of an element from the center of the element's anchors.

Node Inputs

Activate

Sets the relative position of the element.

ElementName

Name of the element.

ElementID

The element Id. Used if ElementName is empty.

XPosition

The relative x position of the element.

YPosition

The relative y position of the element.

Node Outputs

Done

Sends a signal when the node's action is finished.

UIe:Transform:GetZRotation Node

Gets the z rotation of an element.

Node Inputs

Activate

Updates the output.

ElementName

Name of the element.

ElementID

The element Id. Used if ElementName is empty.

Node Outputs

Value

The z rotation of the element.

UIe:Transform:SetZRotation Node

Sets the z rotation of an element.

Node Inputs

Activate

Sets the z rotation of the element.

ElementName

Name of the element.

ElementID

The element Id. Used if ElementName is empty.

Node Outputs

Done

Sends a signal when the node's action is finished.

UIe:Transform:MoveCanvasPositionBy Node

Moves an element in canvas space.

Node Inputs

Activate

Moves the element.

ElementName

Name of the element.

ElementID

The element Id. Used if ElementName is empty.

XOffset

The x offset value.

YOffset

The y offset value.

Node Outputs

Done

Sends a signal when the node's action is finished.

UIe:Transform:MoveLocalPositionBy Node

Moves an element relative to the center of the element’s anchors.

Node Inputs

Activate

Moves the element.

ElementName

Name of the element.

ElementID

The element Id. Used if ElementName is empty.

XOffset

The x offset value.

YOffset

The y offset value.

Node Outputs

Done

Sends a signal when the node's action is finished.