Assign one sprite a rotate behaviour and set other sprites angle equal to moving sprite angle. You can use conditions/instance variables to control it. http://www.upload.ee/files/3382776/teat.capx.html
Are you making somekind of a cog wheel based game, where one wheel turns another?
I hope it is what you meant, you weren't very clear about where you would be using it.