On 16/04/2016 at 09:32, xxxxxxxx wrote:
I've found quite a few posts on querying mouse position, but the only reliable things seem to be the ToolData's MouseInput() and gui's GetInputState(). In my case, the problem with the former is that you can only call it while that tool is active, and the problem with the latter is I can only get it to return True when I'm holding down a mouse button, not when I only click once.
My end goal is to shoot a ray on left mouse button down like a ToolData might, but while, say, the live selection or move tool is active, and this first step is just me trying to get the mouse position.
Thanks in advance for any advice! If any of this doesn't make sense, lemme know