event sprite offset script?

i previously asked this in the main RGSS3 forum, mistakenly, and it was deleted right away. now we do it right lol

my current project has a character with an overworld skill to reach items and switches from afar. (think the Koopa Troopa partners from Paper Mario, or Yoshi's tongue to an extent) My issue is that the player has to stay on the same tile, visually, but RPG Maker's default event sprite anchor would only allow them to extend upwards without looking broken and ugly

so i would love to know if there are scripts or workarounds to adjust the sprite's anchor point
for example: if it's extending toward the right, it anchors to the leftmost 32x32 space of the sprite graphic where the player would be standing, vice-versa if it extends to the left

as far as non-script solutions, just making a really long sprite that extends to one side and is empty on the opposite side is already something i considered, but that still wouldn't work too well for the thing extending downwards
so if anyone can offer help, i thank you in advance <3
no need for a script - just declare the sprite to be an object sprite by adding a ! in front of the filename.

you can see how that works with any object sprite in the RTP (doors, columns and so on)
no need for a script - just declare the sprite to be an object sprite by adding a ! in front of the filename.

you can see how that works with any object sprite in the RTP (doors, columns and so on)
but that still anchors the sprite to the event's 32x32 tile tho, right?
and from that point, a sprite only extends up and to the sides

let me try to explain it a bit better, i'm sorry if i wasn't that clear at first: i have a 32x32 normal player sprite, and lets say the sprite for reaching towards a side is 32 tall x 128 wide
this sprite has the player at one side, but bc of how RPG Maker anchors the graphics by default, with that bottom-middle space, this wide sprite will be around that 32x32 point where the player is as a game entity, rather than the player graphic staying there

and as i said, i'm aware that doubling the sprite's length so it extends to one side and has empty space opposite to it so it's centered is something that can be done, but it only works for left-right extending, and downward would require moving the entity itself (player or separate event) downward to appear at the right point

if i genuinely just don't understand what putting ! in the file name does, i'm sorry lol
i thought it was just to properly line up a sprite with the editor/game grid, or something of the sort

Original thread: https://forums.rpgmakerweb.com/threads/event-sprite-offset-script.146789/