Constraining a sprite between values - Fishing UI

Hello there!

I’m making a survival game and wanted to make something like Stardew Valley’s fishing mechanism.

Like so:

I’ve managed to make the sprites move… but the problem I’m having is how to constrain the yellow target sprite between the range of the other sprite. I thought about using a game update… or constrain (math block) but not sure where to implement this.

(Also, I haven’t finished setting up the fish nor properly aligning the yellow sprite in this version)

Please help!

Kind regards

1 Like

@richard @UnsignedArduino

Could you help me with this please?

Nevermind! I cracked it after drinking LOTSof coffeeeee**

Is there a better way though?