How can I block the possibility of moving my character during a succession of dialogues?

How can I block the possibility of moving my character during a succession of dialogues?
A sequence of dialogues in sequence already blocks the player's movement as well as accessing the menu.

But if it is a Cutscene you will need to change the event trigger to "Autorun":
1724025817732.png
You probably want to make sure you do a tutorial or read the instructions about events - it's important to understand what the different triggers mean and how they work.

As far as making cutscenes:
The problem is that even with autorun it moves, even if I make it invisible, when it becomes visible again it will appear in the place where I am pressing the key.
@ATT_Turan @Dev_With_Coffee
Maybe it's some additional SCRIPT, the best way to isolate the cause of any problem is to create a separate project where you can do the tests.
The problem is that even with autorun it moves, even if I make it invisible, when it becomes visible again it will appear in the place where I am pressing the key.
@ATT_Turan @Dev_With_Coffee
it might be some other error in your event, so please post screenshots of what you did.

at this moment the only possible cause I can think of is if you split the show text commands over several events - but any cutscene should be controlled by a single event only, remote-controling other events where needed.
I don't think that it is a script because this is a new project the only script that I use is to show an image but don't influence this event.

the print:
Captura de tela 2024-08-19 110552.png
Captura de tela 2024-08-19 110600.png
Either a common event is running as well or there's another autorun event you've totally forgotten about or there's a script that enables moving your lead character while reading dialogues.

When you're reading a dialogue, can you still watch the pause triangle blink on screen at the bottom of the message window?
Either a common event is running as well or there's another autorun event you've totally forgotten about or there's a script that enables moving your lead character while reading dialogues.

When you're reading a dialogue, can you still watch the pause triangle blink on screen at the bottom of the message window?
So I made this script and I think it is it because the character only move when I use the WASD key when I use the default key the character don't move

Code:
#==============================================================================
# ** WASD Movement Script
#------------------------------------------------------------------------------
#  Adiciona a funcionalidade de movimento com as teclas WASD sem modificar o
#  código original do Game_Player e permite a navegação em menus/dialogos com W e S.
#==============================================================================
#/_Lucas
module Input
  # Define as teclas WASD com códigos fornecidos
  W = 18
  A = 14
  S = 15
  D = 16
end

class Game_Player < Game_Character
  alias :original_update :update

  def update
    # Chama o método update original para manter o comportamento padrão
    original_update

    # Verifica se o personagem não está em movimento e não há diálogos ativos
    unless moving? || $game_temp.message_window_showing
      # Adiciona suporte para movimentação com as teclas WASD
      if Input.press?(Input::W)
        move_up
      elsif Input.press?(Input::S)
        move_down
      elsif Input.press?(Input::A)
        move_left
      elsif Input.press?(Input::D)
        move_right
      end
    end
  end
end

class Window_Selectable < Window_Base
  alias :original_update :update

  def update
    # Chama o método update original para manter o comportamento padrão
    original_update

    # Verifica se a janela está ativa e se as teclas W e S são pressionadas
    if self.active
      if Input.trigger?(Input::W) && @index > 0
        self.index -= 1
      elsif Input.trigger?(Input::S) && @index < self.item_max - 1
        self.index += 1
      end
    end
  end

  # Define o método item_max para retornar o número de comandos disponíveis
  def item_max
    return @item_max || 0
  end
end
So I made this script
You said you had no scripts in your project except something for an image.

I don't think that it is a script because this is a new project the only script that I use is to show an image
You said you had no scripts in your project except something for an image.
I thought this had nothing to do with it, but then I tested it with the arrows and realized that the movement was blocked.
You see, the original Game_Player's update method has this conditional statement:

Ruby:
    unless moving? or $game_system.map_interpreter.running? or
           @move_route_forcing or $game_temp.message_window_showing

I seriously think your WASD script should also include that for the custom keys.
You see, the original Game_Player's update method has this conditional statement:

Ruby:
    unless moving? or $game_system.map_interpreter.running? or
           @move_route_forcing or $game_temp.message_window_showing

I seriously think your WASD script should also include that for the custom keys.
It works, thank you

Original thread: https://forums.rpgmakerweb.com/threads/how-can-i-block-the-possibility-of-moving-my-character-during-a-succession-of-dialogues.171207/