Stop a ball from moving

Could you demonstrate

I meant the script, could please show how, where and when you are calling Set Physics Linear Velocity on the component that simulates physics.