Microsoft MakeCode

Is there a way to make sprite flicker?

how do you make sprite flicker in makecode arcade?

There’s an ‘invisible’ flag under the same list of flags as ‘stay in screen’, that makes it so the sprite won’t be shown on the screen. In I turn that off and on every 1/5 second to make it flicker - in this case I have to use a variable to store whether the sprite is currently visible or not, as we don’t have a block right now for “is this sprite flag currently on” (I think that would be a good one to add, though)

1 Like