How to make an object flip once when scene starts

How can I make an object flip once and not flip again when you go in the scene with the object

3 Likes

Do

If (flipped) {
Flip
}

to make an object face right (normal)
If an object was not flipped already, this code will not run

Or

If (not(flipped)) {
Flip
}

to make an object face left (flipped)
If an object was already flipped, this code will not run

These two will make an object only flip once. Perfect for making enemies turn around in games.

You can also just make the width a negative value, but just flipping is better, imo.

4 Likes

Hmm ok a bit confusing but Iā€™m sure I can do it

5 Likes

You can do it, I believe in you.

5 Likes

Just wondering how do I make the not flipped code

5 Likes

Oh never mind I figured it out

5 Likes

@William04GamerA Clive, they found out.

3 Likes