motionEventToWorld

fun View.motionEventToWorld(motionEvent: MotionEvent): Position

Get a world space position from a screen space position

Screen space is in Android device screen coordinates

Return

The world position of the point

Parameters

motionEvent

The motion event where you want the world position.