i want to control the black circle by mouse , i did that but i try to keep the circle inside the white rectangle but it goes Through out even the rectangle is solid and i add stop action between them , what is the solution .
<img src="http://s11.postimg.org/fu7i6mq1f/jt1.png" border="0" />
the link for my project
It's because of the way you allow the player to move the object. If you remove the Is in touch event and you add the drag and drop behavior instead, it should work.
Develop games in your browser. Powerful, performant & highly capable.
Thanks But the same problem , your solution did not fixed it ...
you can see the project after modify ...
Link for project after modify
<img src="http://s10.postimg.org/7k1q56bmh/image.png" border="0" />