Seeking Alternatives or Workarounds for Rotation Blocks in Thunkable (2025)

Hello Thunkable Community,

I hope you’re all doing well! I’m working on a project in Thunkable (as of March 2025) to implement a tarot card app with upright/reversed card functionality, and I’m struggling to find a way to rotate images randomly (0° for upright, 180° for reversed). Here’s my situation:

  • In my environment, the set “ImageX” ‘s “X” to block has a dropdown for X (e.g., Picture, Height, Width, Visible, etc.), but “Rotation” isn’t an option.
  • I’ve found a standalone Text block (horizontal connection only) where I can input “Rotation,” but it doesn’t connect to the X dropdown. It only fits in the to slot, which doesn’t help set the rotation property.
  • I have access to blocks like random integer from 1 to 100, true/false (horizontal connection), and basic logic blocks (and, or), but there’s no if block for conditional logic.

My goal is to randomly rotate Image1, Image2, and Image3 to either 0° or 180° when a button is clicked. Without a direct Rotation option, I’m considering alternatives like using separate upright and reversed images (e.g., fool.png and fool_reversed.png), but I’d prefer a rotation solution if possible.

Could anyone suggest:

  1. If there’s a hidden or updated block for Rotation in 2025 that I might have missed?
  2. A combination of existing blocks (e.g., Text, random integer, etc.) to achieve image rotation?
  3. Any creative workarounds to simulate rotation without needing extra image assets?

I’d really appreciate any advice, block combinations, or examples you could share. Thank you so much for your time and help!

Best regards,
[nana-japan]

Hello @nana-japan welcome to Thunkable :wave:

This is a really cool idea for a app!

Anyways you can currently only rotate images using the canvas and canvas sprites.

There you can use the set sprite angle block to rotate it.

You can take a look at the docs for more info.

1 Like

You can rotate sprites so you could make this in the Canvas. But I wouldn’t do that. I’d instead upload two images for each card: a 0° version and a 180° version. Display whichever one you need by getting a random number from 1 to 2 and using an if block.

But if you prefer to have the cards actually animate a rotation rather than just switching orientation as I suggested, you would need to use the Canvas.

1 Like

Hi @sketch,

Thank you so much for your reply to my question! It was really helpful and gave me a great starting point. I’ll dive back into studying the canvas and sprite features and keep working hard on my project. Your advice is much appreciated!

Best regards,
@nana-japan

1 Like

Hello @nana-japan
You could also upload the image to Cloudinary.
To rotate a Cloudinary image you just need to add this to the URL: a_180/