I want a script that moves the picture.

RM VXA uses the shaking function, but the picture doesn't move. I want the picture to move. If there is no such script, it's okay to shake the entire game. When I searched, all the scripts were gone, so I left this message.
Code:
class Spriteset_Map 
alias meow_shakes update_viewports 
  def update_viewports   
  @viewport2.ox = $game_map.screen.shake if $game_switches[1] == true
  meow_shakes 
  end
end

1604176792899.png
There seems to be several answers to this
Including this
and a script made my Xail back in 2012. Xail System - Image Shake. Which gives you the option to choose only x movement, y movement, both or none and a switch to disable.
OP said " When I searched, all the scripts were gone"
Xail image system isn't available online anymore 🤣 Do you have a backup copy?
Yea, had trouble finding it myself. It's not in my bulk script list I uploaded a few years ago.
Must have found it recently
Spoiler: Xail - Image Shake
Ruby:
#==============================================================================
#   XaiL System - Image Shake
#   Author: Nicke
#   Created: 25/08/2012
#   Edited: 03/09/2012
#   Version: 1.0a
#==============================================================================
# Instructions
# -----------------------------------------------------------------------------
# To install this script, open up your script editor and copy/paste this script
# to an open slot below ? Materials but above ? Main. Remember to save.
#
# Small snippet to make your picture's shake when the screen is shaking.
#
# *** Only for RPG Maker VX Ace. ***
#==============================================================================
($imported ||= {})["XAIL-IMAGE-SHAKE"] = true

module XAIL
  module IMG_SHAKE
  #--------------------------------------------------------------------------#
  # * Settings
  #--------------------------------------------------------------------------#
    # Use this to setup which direction the pictures should move when a shaking
    # occurs.
    # x = horizontal
    # y = vertical
    # xy = both
    # "" = none
    # SHAKE_DIRECTION = strng
    SHAKE_DIRECTION = "xy"
    
    # Switch to manually enable/disable the script.
    # This will disable the script if switch_id is on/true.
    # DISABLE_PIC_SHAKE = switch_id
    DISABLE_PIC_SHAKE = 1
    
  end
end
# *** Don't edit below unless you know what you are doing. ***
#==============================================================================#
# ** Module Sound
#==============================================================================#
class Spriteset_Map
 
    alias xail_img_shake_spriteset_map_upd_viewports update_viewports
    def update_viewports(*args, &block)
      # // Method to when viewports are updating.
      xail_img_shake_spriteset_map_upd_viewports(*args, &block)
      return if $game_switches[XAIL::IMG_SHAKE::DISABLE_PIC_SHAKE]
      case XAIL::IMG_SHAKE::SHAKE_DIRECTION
      when "x"
        @viewport2.ox = $game_map.screen.shake
      when "y"
        @viewport2.oy = $game_map.screen.shake
      when "xy" 
        @viewport2.ox = $game_map.screen.shake
        @viewport2.oy = $game_map.screen.shake
      end
    end
    
end # END OF FILE

#=*==========================================================================*=#
# ** END OF FILE
#=*==========================================================================*=#
oh...thank you!

Original thread: https://forums.rpgmakerweb.com/threads/i-want-a-script-that-moves-the-picture.129377/