Discuss Scratch

Kunimaocode
Scratcher
100+ posts

How do I flip a sprite using code?

Right, so I want to flip a sprite so it faces to the left instead of the right. I don't want to use the
turn cw (180) degrees
blocks, as it turns the sprite upside-down as well as facing left. Is there another way to do it without making more costumes and flipping them?
GumballWatterson1198
Scratcher
100+ posts

How do I flip a sprite using code?

Kunimaocode wrote:

Right, so I want to flip a sprite so it faces to the left instead of the right. I don't want to use the
turn cw (180) degrees
blocks, as it turns the sprite upside-down as well as facing left. Is there another way to do it without making more costumes and flipping them?
You have to enable left-right flipping in the motion menu.

set rotation style [ Left-Right v]
point in direction ( 90 )
Kunimaocode
Scratcher
100+ posts

How do I flip a sprite using code?

GumballWatterson1198 wrote:

Kunimaocode wrote:

Right, so I want to flip a sprite so it faces to the left instead of the right. I don't want to use the
turn cw (180) degrees
blocks, as it turns the sprite upside-down as well as facing left. Is there another way to do it without making more costumes and flipping them?
You have to enable left-right flipping in the motion menu.

set rotation style [ Left-Right v]
point in direction ( 90 )
Thanks!
CrashEnterminate
Scratcher
5 posts

How do I flip a sprite using code?

Can use this:
set rotation style [Left-Right]

Powered by DjangoBB