onMotion

fun onMotion(    connectFlags: <Error class: unknown class> = ConnectFlags(0u),     handler: (<Error class: unknown class>, <Error class: unknown class>) -> <Error class: unknown class>): <Error class: unknown class>(source)

Emitted while the pointer is moving over the drop target.

Parameters

connectFlags

a combination of ConnectFlags

handler

the Callback to connect. Params: x the x coordinate of the current pointer position; y the y coordinate of the current pointer position. Returns Preferred action for this drag operation or 0 if dropping is not supported at the current @x,@y location.