Page 1 of 1
Get cursor position
Posted: Sun Sep 20, 2015 2:04 am
by ripgeneral
game,player.cursor_position returns
LuaPlayer doesn't contain key cursor_position.
Any Ideas ?
Re: Get cursor position
Posted: Mon Sep 21, 2015 7:09 am
by SirRichie
At the moment, it is a write-only property:
https://forums.factorio.com/wiki/inde ... Lua/Player
So you are out of luck. You can get the in-world position of the entity under the cursor, but not the cursor position itself.