How do I restrict the movement of an actor to just one axis or only one rotation?

ok, I will take a look in it, again thank you ^^