How do I set sprite to move in direction of mouse and with speed according to distance between mouse and tank.
You can get the mouse position with Mouse.x and Mouse.y, the distance with the distance function distance(sprite.x, sprite.y, mouse.x, mouse.y).
Joskin Is there any list of all functions like that in Construct 2
Yes in the manual.
For example : https://www.scirra.com/manual/126/system-expressions
Joskin Thanks a lot
You are a Manual graduate. Haven't you read the system references already?
Develop games in your browser. Powerful, performant & highly capable.
I left that part as continued reading.