MCPcopy Create free account
hub / github.com/galacean/engine / onPointerBeginDrag

Method onPointerBeginDrag

packages/core/src/Script.ts:155–155  ·  view source on GitHub ↗

* This function will be called when the pointer is pressed on the collider. * @param eventData - The pointer event data that triggered this callback

(eventData: PointerEventData)

Source from the content-addressed store, hash-verified

153 * @param eventData - The pointer event data that triggered this callback
154 */
155 onPointerBeginDrag(eventData: PointerEventData): void {}
156
157 /**
158 * When a drag collision occurs on the pointer, this function will be called every time it moves.

Callers 1

_fireBeginDragFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected