Set Image doesn't work on web (first frame of game starts)


  1. Open the linked project in a web browser
  2. Press play.

Expected: Bear is shown bouncing on a trampoline
Actual: The text “yeet” is still bouncing

How to reproduce code like I did in this project

  1. Create a non-empty text object
  2. Set image on first frame of game starts
  3. Wrap that set image in a repeat loop

Here’s how I think it happens:

  1. Setting image on the first frame causes the correct image type to be stored (i.e. Bear)
  2. Text is rendered on second frame, even if the object is no longer text
  3. The canvas is now showing text even though Bear is the stored object type
  4. Since the image type matches the one inside of set image, the block does nothing.

Workaround: wait a short amount before setting image type, or use empty text objects or shapes.


A post was merged into an existing topic: Objects shrinks every time it’s opened - Bug with 3.47.2 of hopscotch

i can confirm this is happening to me
off-topic: you’re judging btsorbit? that’s cool