PointerHost

external class PointerHost(source)

Constructors

Link copied to clipboard
constructor(system: System)

Properties

Link copied to clipboard
external val system: System

Functions

Link copied to clipboard
external fun getMouseTarget(instance: Instance): Element
Link copied to clipboard
external fun getPointerName(keyDef: pointerKey): String
Link copied to clipboard
external fun getPreviousPosition(pointerName: String): PointerPosition?
Link copied to clipboard
external fun isKeyPressed(keyDef: pointerKey): Boolean
Link copied to clipboard
suspend external fun move(instance: Instance, pointerName: String, position: PointerPosition): Void
Link copied to clipboard
external fun moveAsync(instance: Instance, pointerName: String, position: PointerPosition): Promise<Void>
Link copied to clipboard
suspend external fun press(instance: Instance, keyDef: pointerKey, position: PointerPosition): Void
Link copied to clipboard
external fun pressAsync(instance: Instance, keyDef: pointerKey, position: PointerPosition): Promise<Void>
Link copied to clipboard
suspend external fun release(instance: Instance, keyDef: pointerKey, position: PointerPosition): Void
Link copied to clipboard
external fun releaseAsync(instance: Instance, keyDef: pointerKey, position: PointerPosition): Promise<Void>
Link copied to clipboard
external fun resetClickCount()
Link copied to clipboard
external fun setMousePosition(position: PointerPosition)