UI module

click

procedure · 1 overloadsince 0.31.0Source

Move the pointer to the centre of node and click it. The next frame applies it and shows the result. node must come from a frame that has already laid it out.

click :: (ui: *UI_State, node: *Node)

Move the pointer to the centre of node and click it. The next frame applies it and shows the result. node must come from a frame that has already laid it out.

Parameters

ui: *UI_State
the UI to send the click to.
node: *Node
the node to click. Null does nothing.

See also