Godot Learning - Part 4

Dialogue Boxes

Solving “Move RPG dialogue box to other end of screen to not hide player”

  if $Player.atTopOfScreen:
    $GUI/Aligner.alignment = VBoxContainer.ALIGN_END
    $GUI/Aligner.margin_bottom = -100 # height of container
  else:
    $GUI/Aligner.alignment = VBoxContainer.ALIGN_BEGIN
    $GUI/Aligner.margin_bottom = 0