LuaPlayer::drag_target
Posted: Fri Jan 06, 2023 10:50 pm
In my mod (Wire Shortcut X) I want to be able the read whether the player has a drag target (i.e. is dragging a wire/cable from an entity). Personally I don't care what it is, just whether or not it exists. But it should probably return the LuaEntity. I also don't need to be able to write it, since you can create the drag_target with LuaPlayer.drag_wire and clear it with LuaPlayer.clear_cursor. I just need to know if it exists 
