MV Two questions about possible ways to script this movement.

I was hoping some of you guys that are better with scripting could help me with a couple of things.

First off, I use these sorts of script calls to move events off the grid a lot during cutscenes. It gives me way more control over movement:

$gameMap.event(12)._x += .5

However, this only works for events. Is there some similar script call that could make it work for the player as well? At the moment I have to swap the player out with an event that is it's duplicate. I'd rather not do that for a few different reasons related to my workflow.

I was hoping I could use something like:
$gameMap.player._x += .5

But that doesn't work.

My other question is related to the script above. Is there a way to make it so I don't have to put in the event ID if I'm using it in a Set Move Route and make it just use whatever the Set Move Route event is set to? Something like:

$gameMap.event(THIS)._x += .5

Any help with these two questions would be greatly appreciated!
You can use this._x for current event, in a movement route.
Also you say it is a cutscene, so you can just use an event which looks like the player and hide the real player.
You can use this._x for current event, in a movement route.
Also you say it is a cutscene, so you can just use an event which looks like the player and hide the real player.

As I mentioned, I usually do swap the player out with a duplicate event sometimes. It's dependant on what I need from the cutscene. I don't always need this fine control.

You can use this._x for current event, in a movement route.

This seems to work set move routes for events and the player.

You solved all my issues. I can't believe it was just "This._x" lol.

Thanks you!
Yeah, route is a special case, the script is not run by an interpreter, it is evaluated on the fly inside the character's upate function.
Using it outside of the move route, you need to be careful regarding wait times and the lack of a wait mode. The code is:
JavaScript:
$gamePlayer._x += .5

Original thread: https://forums.rpgmakerweb.com/threads/two-questions-about-possible-ways-to-script-this-movement.176432/