POSITION of the label.

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

How can i lock the position of the the label text . So when the player moves the text dosen’t move.

:bust_in_silhouette: Reply From: Dlean Jeans

There are two ways:

  • Add a CanvasLayer to the player then move the Label under it.
  • Move the Label outside of the player.

I want the text at the center of the player.

THE HELIX | 2019-07-03 17:35

Just move the text anywhere around. To move it to the center, first select the Label then on the toolbar, click Layout > Center.

Dlean Jeans | 2019-07-04 00:01

But my labels are attached to kinematic body 2D similar to a candy crush game.

THE HELIX | 2019-07-05 15:25

Then just move it with your mouse or via the Inspector.

Dlean Jeans | 2019-07-05 17:30

The body is falling along y axis and when at rest the text at the center is shaking. I need to lock the position of the text and prevent it from shaking.

THE HELIX | 2019-07-05 18:07