Move object with arrow keys only inside boundaries

Apr 29, 2016

Hi

I have created a smal exercise that controls the movement of a circle using the arrow keys. Works fine.

But what if I want to allow movement only as long as the circle don't touch the rectangle?

Can I control the circle that way?

 

gustaf

4 Replies
Gustaf Sylvin

Thx Michael.

There is no other way using conditions? Like: Move circle along motion path if circle is not equal to dragged over rectagle?

In a later stage I would like to scale this up a maze. I would rather control the possible ways to move by some kind ofobject insead of creating possible coordinates for the circle to move within.

 

This discussion is closed. You can start a new discussion or contact Articulate Support.