getY
Description​
Gets the Y-position of the cursor at the time of the event relative to the given UI container.
- JavaScript
- C#
- Kotlin
getY(relativeTo: IContainer): numberdouble GetY(IContainer relativeTo)fun getY(relativeTo: IContainer): Double| Parameter | Summary |
|---|---|
relativeToAll | The UI element to which the relative position should be calculated. |
Returns​
The relative Y-position of the cursor to the given UI container at the time the event occured.