clip object to camera2d

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

how do i keep a object eg: a health bar to be static on the camera while the camera is moving
thx

:bust_in_silhouette: Reply From: Sween123

Edit: Put the camera as a child node.
For example:
Player - camera, health bar
or: health bar - camera

i actually did not know why i didnt think of this

kietjay123 | 2020-02-14 11:32