Request to add API of getting user's mouse location on surface
Posted: Sat Nov 07, 2020 7:55 am
Hi,
I suggest add a new API is LuaPlayer like this:
```
LuaPlayer.get_cursor_surface_location() -> Position
```
Or:
add a new surface_position parameter to user's custom input event that involves cursor clicking.
This makes a lot of operations possible, such as let player go to x,y location, or put a series of marker on ground base of user's cursor location.
Thanks
I suggest add a new API is LuaPlayer like this:
```
LuaPlayer.get_cursor_surface_location() -> Position
```
Or:
add a new surface_position parameter to user's custom input event that involves cursor clicking.
This makes a lot of operations possible, such as let player go to x,y location, or put a series of marker on ground base of user's cursor location.
Thanks