API ReferenceworldinputgetMousePosition()On this pagegetMousePosition() world.input.getMousePosition() Description Returns the x and y position of the mouse in the screen. Parameters None. Returns [number, number] Example world.input.getPosition()