How do i flip a object?

i need to be able to flip an object for a game
flipX doesn’t seem to be working

Try this:

this.scaleY*-1;

Or this:

this.scaleX*-1

You just multiply the scaleX or scaleY by negative 1 to flip horizontally or vertically.
Don’t use the code above in the update script

thanks thats what i did

Did it work the way u needed it to?

yes
thanks!

1 Like

That’s good to hear :)

is there any way to access cloud

I answered that on your cloud post.

thanks
so is it possible?

Well, Luxapodular said it’s possible, so yes. We don’t know how to do it yet, but theoretically it’s doable.

It needs a whole process… and idk how to code with servers…

There should be a tutorial for this type of stuff though, everyone’s gotta be interested in learning this.