Use your mouse to move the cat with the gun Change the sliders which will change the speed of bullets and the speed of the enemy cat.
This is to demonstrate the ability for a computer to automatically aim at something, and accounting for the bullet speed Probably the most well-known use of this is to use in games that involve shooting. I'm using scratch as a testing ground to make this, and to use this in a script for actual games >:)