Event not moving

Hello! It's me again 🙂 , I've got question and also a problem... I can't figure out how to move a event when I don't see it ...
Im creating a map when hero is going up and the rocks fall up down (moving down) by autonomous movement (I also tried moving this falling rock with other event as parreral) but... The event will move only when hero is near it... I mean the "screen" is near the event about one Y.... Is there a way to move this event otherwise?? (the falling rock is a "event touch" with damage message )
Paste this in the script editor and add MOVE_OFFSCREEN to the name of the event. 

Code:
class Game_Event < Game_Character  alias_method(:aue_near_the_screen?, :near_the_screen)  def near_the_screen?(*args)    @event.name.include?('MOVE_OFFSCREEN') ? return true : aue_near_the_screen?(*args)  endend
Hi Lemony thank You for your answer! but I goHi Lemony thank You for your answer! but I got error message after puting Your script in the game... t error message after puting Your script in the game... 

error.png
Yes, should be this one:

Code:
class Game_Event < Game_Character  alias_method(:aue_near_the_screen?, :near_the_screen)  def near_the_screen?(*args)    @event.name.include?('MOVE_OFFSCREEN') ? true : aue_near_the_screen?(*args)  endend
Hi 😛 still got problem!

error.png
class Game_Event < Game_Character


alias_method🙂aue_near_the_screen?, :near_the_screen?)


def near_the_screen?(*args)


@event.name.include?('MOVE_OFFSCREEN') ? true : aue_near_the_screen?(*args)


end


end
Hi its working now🙂 thanks🙂
You're welcome!
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/event-not-moving.22302/