Help, tweens are stupid-ing

I am working on a game called Walk on grass, and i want a image which when hovered it zooms in indicating it was selected, and hovering it makes it zoom in but moving the cursor off it stays the same size, help, here is a screenshot

In 2nd event you don’t have trigger once
Also you should have separate names for each tween
YET idk if that is a rule for per object or all object tweens

You have 3 tweens with the same name running at the same time. Don’t. Tween running at the same time on the same object each need a different name.

Additionally, the three tweens all change the Y position. This will cause conflict. They are not queued up. They are all run simultaneously.

If tweens need to be run one after the other, then add events to check when each tween has finished and remove it from the object start the next one.

1 Like

so you can’t have 2 tweens at the same time? since these are not the same object.

nun worked, idk why, the _3art and _3 don’t tween back

Do you happen to have more than one button that can be hovered?
I mean copy of that button

Actually, they are different objects (_3, _2, _1) so that shouldn’t be an issue

@Bilal2704
I think you just need a “trigger once” under the not-hovered condition

Mine was a typo. It should have been “2 tweens with the same name”.

Each object in the Hover over event has a tween with the same name as the object tween in the Hover off event.

If you hover over and hover off within 1 second, both tweens with the same name on an object will be run.


No, trigger once is not the solution. Existing tweens need to be removed before the same tween action, or tween with the same name, is created

Why is that? Won’t the target value be reached as long as the final tween is the correct one?

Tweens using the same identiter on the same instance do get deleted first. It’s in the source.

You can use the same identifier on different instances which helps when using groups.

I’m assuming lvl3 is a group. If so, you might want to use the group name instead of 3 separate actions. If it’s a group only the matching instances get picked.

I’m on my phone. So, I can’t test your events but I would use a different name for each tween direction and then check using inverted tween exists and tween exists instead of trigger once. You would also need to delete the opposite direction tween when starting the other direction tween.

You don’t need to move up if up exists
You don’t need to move down if up doesn’t exist
(along with the hover conditions)

I can’t currently be more specific but this should help you or the people helping you.