Skip to content

Lua API

Mikolka edited this page Apr 24, 2025 · 3 revisions

Psych Engine API

Mobile API documentation (available with "TOUCH_CONTROLS_ALLOWED" flag)

P-Slice API calls

versionPS

Returns a version of P-Slice the script is running on

markAsPicoCapable(force:Bool = false)

Adds additional code responsible for Nene's behavior. This includes adding ABot to Nene (with proper visualizer).

Optionally let's you ignore checks for Nene and add ABot with whatever gf you have on your stage (in case you want a standalone ABot)

changeTransStickers(stickerSet:String,stickerPack:String)

Changes the sticker set and pack for the next transition. You can set a argument value to "null" in case you don't want to change it.

getFreeplayCharacter()

Gets currently set freeplay character.

setFreeplayCharacter(character:String,modded:Bool = false)

Changes current character to the character

By default it uses the build-in characters, but by setting modded to true you can use characters from the active mod.

Clone this wiki locally