# Shoot ball

**URL:** <https://forum.kirupa.com/t/shoot-ball/252688>\
**Category:** programming\
**Created:** [February 22, 2008, 2:56pm UTC](https://forum.kirupa.com/t/shoot-ball/252688 "2008-02-22T14:56:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dimjas](https://avatars.discourse-cdn.com/v4/letter/d/43a26b/32.png) [@dimjas](https://forum.kirupa.com/u/dimjas)\
**Post date:** [February 22, 2008, 2:56pm UTC](https://forum.kirupa.com/t/shoot-ball/252688/1 "2008-02-22T14:56:18Z")

</div>

I need to make game like this:

> **[Torwandschießen](https://www.lachmeister.de/lustiges-flash-spiel/sport/2125/torwandschiessen.html)**
>
> Einfach mit der Maus auf den Ball klicken und 
> gedrückt halten. Jetzt so bewegen, dass das 
> Kreuz in die richtige Richtung zeigt und die 
> Statusanzeige im roten Bereich ist. Nun noch 
> loslassen.

The problem for me is the part when I have to make this animation when mouse release the ball. Any idea how to do it?
