Fires events when the mouse tries to drag a layer.
This node outputs the position that a layer would be dragged to, but does not actually move the layer. To move the layer, connect this node’s Dragged To
output port to the Position
input port of the node that creates the layer (such as Make Oval Layer).
This node checks the mouse pointer against the layer’s position within the rendered composite image. For example, if a layer is scaled and rotated before being rendered, then this node would check if the mouse pointer falls within the layer’s scaled and rotated bounds. (However, the output of this node would be the center of the un-scaled and un-rotated layer.)
Layer
— The layer to track drags on.Window
— The window in which the layer is rendered and dragging is to be tracked.Button
— The mouse button(s) to track.Modifier Key
— The keyboard button (if any) that must be held for the mouse action to be tracked.Started Drag
— When the mouse button is pressed within the layer, fires an event with the layer’s center point.Dragged To
— When the mouse is dragged and the drag started within the layer, fires an event with the center point that the layer would be dragged to.Ended Drag
— When the mouse button is released for a drag that started within the layer, fires an event with the center point that the layer would be dragged to.Keywords: bang, cursor, events, fire, hit test, i/o, input, interface, pointer, provider, touchpad, trackball, trackpad, trigger