MZ Help with Fomar0153's AP System Plugin

Hello

I'm new to RPGMaker MZ. I've run into an issue that I can't find an answer to.

I'm wanting to use the AP System to track secondary XP systems. For my project, I would like to be able to manually set AP via script calls, save AP to variables, and manually set AP's from a variable.

I can use the script command $gameActors.actor(x).gainAP(n); to manually set AP
Also I can set a variable by using the $gameActors.actor(x).currentAP(); command
However
I can't figure out how to load a variable back into the plugin.
I intuitively tried to do this by using $gameActors.actor(x).gainAP(\V[15]); However, all I got was a syntax error.

If you could provide me with this assistance, I would appreciate it very much!

Original thread: https://forums.rpgmakerweb.com/threads/help-with-fomar0153s-ap-system-plugin.150365/