Is there a simple way to take existing rectangle on the stage and “flip” the rectangle so that if it was on the left it’s now on the right side?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes, it is quite simple by manipulating the rectangle’s x position.
is about as simple as you can get. It may not be what you’re looking for because I have no idea what you’re trying to do, but that’s how you go about simple position manipulations using variables like the stageWidth.