0 votes
asked Jun 23, 2019 in Engine by Comet (60 points)

1 Answer

0 votes
$ProgressBar.value = number

Your question is a bit vague if this isn't what your looking for could please give a bit more information and I will try to help more.

answered Jun 23, 2019 by StoneForged (61 points)

I made a strip of hp, but I can not do it so that it would not be made more than 50.

func _physics_process(delta):
if hp >= 1:
    hp += delta * 2
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.