Is it possible to mouse hover on region ID?

I used Galv's layer graphic plugin. I wanna use Region ID instead of TouchInput.x and TouchInput.y to add / remove layer. And so I wonder

can i mouse over a region and check its Region ID?
Its alright, I figured it myself. To those who want to know. Here's the formula


var x = $gameMap.canvasToMapX(TouchInput.x);

var y = $gameMap.canvasToMapY(TouchInput.y);

$gameVariables.setValue(1, $gameMap.regionId(x, y));

Admin can help close it

Original thread: https://forums.rpgmakerweb.com/threads/is-it-possible-to-mouse-hover-on-region-id.172363/