this does not support accurate balancing when hitting the ground yet move your cursor (or finger) anywhere while holding it and the rock will follow it, then you can let it go to drop it.
all code made by me