Alvarez Posted March 30, 2015 Share Posted March 30, 2015 So I have my mouse location (x,y) that was clicked. How can I turn that into a location from the map? 1 Quote Link to comment Share on other sites More sharing options...
Lemons Posted March 30, 2015 Share Posted March 30, 2015 Need a little more detail. Are you trying to get entities at the cursor? getMouse().getEntitiesOnCursor() Quote Link to comment Share on other sites More sharing options...
Alvarez Posted March 30, 2015 Author Share Posted March 30, 2015 Need a little more detail. Are you trying to get entities at the cursor? getMouse().getEntitiesOnCursor() Not entities, but the location. For example, if the mouse clicked the map is there a way to get that x,y for the Runescape location? Quote Link to comment Share on other sites More sharing options...
Twin Posted March 30, 2015 Share Posted March 30, 2015 Not entities, but the location. For example, if the mouse clicked the map is there a way to get that x,y for the Runescape location? Get your players position when they stop moving? Hard to say when I have no clue what you want to do with this. Quote Link to comment Share on other sites More sharing options...
Alvarez Posted March 30, 2015 Author Share Posted March 30, 2015 Got it Answer is map.getDestination() /thread 1 Quote Link to comment Share on other sites More sharing options...
Lemons Posted March 30, 2015 Share Posted March 30, 2015 Yep, thats correct. Just be wary it will return a Position at the Base X/Y of the region if no flag is present, instead of an expected null. 2 Quote Link to comment Share on other sites More sharing options...