How do I use "origin" if I don't have access to "origin"?

Ok, I need an alternative for "origin" or "this.stateOrigin()" since both of those don't seem to work in LTBS (it just targets the target instead). Is this possible? As I understand it, the origin stuff is a Yanfly thing and apparently incompatible w/ LTBS.😢

Edit: I'm thinking variables (as in v[ ]) will be needed, but I'm not sure how to go about it...

Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-use-origin-if-i-dont-have-access-to-origin.130214/