March 2, 20178 yr Hey guys, is there a way to move the mouse in an x , y , z format ? i have looked threw the API and i cant seem to see one; would be really useful for me on different camera angles to be able to lift the mouse in a Z axis
March 2, 20178 yr You cant move to the z axis because the screen is 2-dimensional. However, you could get the bounding rectangle of an object and then create a MouseDestination and move the mouse there in order to interact with it. RectangleDestination(Bot bot, int x, int y, int width, int height) Edited March 2, 20178 yr by LoudPacks
March 2, 20178 yr 16 minutes ago, LoudPacks said: You cant move to the z axis because the screen is 2-dimensional.
March 2, 20178 yr Author 35 minutes ago, LoudPacks said: You cant move to the z axis because the screen is 2-dimensional. However, you could get the bounding rectangle of an object and then create a MouseDestination and move the mouse there in order to interact with it. RectangleDestination(Bot bot, int x, int y, int width, int height) Ill give it a try thanks mate !
March 2, 20178 yr So you want the mouse to use the middle button to move the camera? There was someone who posted a snippet of it. Never used it though.
Create an account or sign in to comment