Thanks lucid for fast answear! That knowlege should be in wiki anyway . (if it is - im dumb).
Edit: Another problem, oddly physics behaviour doesn't have expression for speed, guess i had to do that the other way.
and the "distance" doesent work for me. simply theres no command like this.
and how to setup those previuosx/y variables? just make them or insert some code ?