How to make object shake?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Krasapan

How to make Control node shake like a screen shake using tween node?

:bust_in_silhouette: Reply From: PEIGNAULT Laurent

You can play with rect_pos.x coordinates in an animation player or with a script.

Ok. Will it be possible to shake it with a Tween node?

Krasapan | 2021-01-13 06:16

:bust_in_silhouette: Reply From: deaton64

Did you try searching?

How to Screen Shake in Godot 3.0

That tutorial is about camera shake, but I need to find out how to shake Control node using Tween node

Krasapan | 2021-01-13 06:14

ah right, sorry, I thought you could do a similar thing perhaps…
They’ve got positions etc…

deaton64 | 2021-01-13 13:15