galaxyBETA
explore
· ·
log in

log me in

log in forgot password

don't have an account?

sign up

supports

The supports action tells galaxy what parts of the API you interact with, and hides/shows certain elements of the player accordingly.

parameters

  • saving (boolean)
    If your game auto-saves or allows the user to make/load game saves from within the UI.
  • eval (boolean)
    If your game will voluntarily allow eval calls from messages from galaxy. In the future, this may be used to enable auto-clickers, macros, userscripts, etc.

example

window.top.postMessage({
	action: "supports",
	saving: true,
	eval: true,
}, "https://galaxy.click");