[VX Ace] Changing position of the textbox arrow

Hello all,

I'm trying to change the position of the "arrow" or pause icon (contained with the rest of the window image in system) that usually appears at the bottom center of the message window. My original line of thinking was to find where this arrow was referenced somewhere in the window scripts and change its position there. Unfortunately, I can't find a reference for the arrow anywhere and it seems that what I want to do might require a script rather than a simple edit. Additionally, I'd like the arrows position to be customised mid-game

If anyone is able to provide a script where the position of the message box arrow can be customised and changed mid-game via a script call (through use of x & y coord positioning) I would greatly appreciate it.

Note: I am aware of ArkDG's Customized Message Window Pause Icon/Animation script, however this script does not provide the function of changing the arrow's position mid-game and I do not need to customise the arrow beyond its positioning
If anyone is able to provide a script where the position of the message box arrow can be customised and changed mid-game
Here is a mod or Yato's script to use a variable so you can change it any time.
Ruby:
#==============================================================================
# Relocated Pause Graphic
# by: Racheal
# Version 1.1
# Created: 11/11/2013
# Mod by Roninator2
# Mod sets the position by variable
#==============================================================================
# Replicates the pause graphic in Window_Message to allow for repositioning
#==============================================================================
# Instructions:
# * Insert in the Materials section
# * Configure to your liking below
#==============================================================================

#==============================================================================
# Customization
#==============================================================================
module Racheal_Move_Pause
  #Set the variable to use for the position of the pause graphic.
  # 0 = left, 1 = center, and 2 = right
  POSITION = 5

  #Set fine tuning of position here
  USE_VARIABLE = true
  # when using a variable you can adjust this as needed or set to
  # false to use the numbers as absolute position
  X_OFFSET = 12
  Y_OFFSET = 4
end
#==============================================================================
# End Customization
#==============================================================================

class Window_Message < Window_Base
  #--------------------------------------------------------------------------
  # * Alias: Initialize
  #--------------------------------------------------------------------------
  alias move_pause_graphic_initialize initialize
  def initialize
    move_pause_graphic_initialize
    make_pause_sprite
  end
  #--------------------------------------------------------------------------
  # * Alias: Dispose
  #--------------------------------------------------------------------------
  alias move_pause_graphic_dispose dispose
  def dispose
    move_pause_graphic_dispose
    @pause_sprite.dispose
  end
  #--------------------------------------------------------------------------
  # * Make Pause Sprite
  #--------------------------------------------------------------------------
  def make_pause_sprite
    @pause_sprite = Sprite.new
    @pause_sprite.bitmap = self.windowskin
    @pause_sprite.src_rect = Rect.new(96, 64, 16, 16)
    @pause_sprite.z = self.z + 10
    @pause_sprite.visible = false
  end
  #--------------------------------------------------------------------------
  # * Alias: Update
  #--------------------------------------------------------------------------
  alias move_pause_graphic_update update
  def update
    move_pause_graphic_update
    update_pause_sprite if @pause_sprite.visible
  end
  #--------------------------------------------------------------------------
  # * Frame Update
  #--------------------------------------------------------------------------
  def update_pause_sprite
    frame = Graphics.frame_count % 60 / 15
    @pause_sprite.src_rect.x = 96 + 16 * (frame % 2)
    @pause_sprite.src_rect.y = 64 + 16 * (frame / 2)
  end
  #--------------------------------------------------------------------------
  # * Overwrite: Set Pause
  #--------------------------------------------------------------------------
  def pause=(pause)
    if pause
      case $game_variables[Racheal_Move_Pause::POSITION]
      when 0
        if Racheal_Move_Pause::USE_VARIABLE
          @pause_sprite.x = self.x + padding + $game_variables[Racheal_Move_Pause::X_OFFSET]
        else
          @pause_sprite.x = self.x + padding + Racheal_Move_Pause::X_OFFSET
        end
      when 1
        if Racheal_Move_Pause::USE_VARIABLE
          @pause_sprite.x = self.x + self.width / 2 + $game_variables[Racheal_Move_Pause::X_OFFSET]
        else
          @pause_sprite.x = self.x + self.width / 2 + Racheal_Move_Pause::X_OFFSET
        end
      when 2
        if Racheal_Move_Pause::USE_VARIABLE
          @pause_sprite.x = self.x + self.width - padding - $game_variables[Racheal_Move_Pause::X_OFFSET]
        else
          @pause_sprite.x = self.x + self.width - padding - Racheal_Move_Pause::X_OFFSET
        end
      end
      if Racheal_Move_Pause::USE_VARIABLE
        @pause_sprite.y = self.y + self.height - padding - $game_variables[Racheal_Move_Pause::Y_OFFSET]
      else
        @pause_sprite.y = self.y + self.height - padding - Racheal_Move_Pause::Y_OFFSET
      end
    end
    @pause_sprite.visible = pause
  end
end
Thanks for the quick reply, works perfectly.

Original thread: https://forums.rpgmakerweb.com/threads/vx-ace-changing-position-of-the-textbox-arrow.166377/