RemoteTransform2D

    RemoteTransform2D pushes its own Transform2D to another derived Node in the scene.

    RemoteTransform2D pushes its own to another CanvasItem derived Node (called the remote node) in the scene.

    It can be set to update another Node’s position, rotation and/or scale. It can use either global or local coordinates.

    ( )

    • remote_path

    The NodePath to the remote node, relative to the RemoteTransform2D’s position in the scene.


    • update_position

    Default

    true

    Setter

    set_update_position(value)

    Getter

    get_update_position()

    If true, the remote node’s position is updated.


    If true, the remote node’s rotation is updated.


    Default

    Setter

    set_update_scale(value)

    Getter

    get_update_scale()

    If true, the remote node’s scale is updated.


    • use_global_coordinates

    If true, global coordinates are used. If false, local coordinates are used.

    • void force_update_cache ( )

    caches the remote node. It may not notice if the remote node disappears; forces it to update the cache again.