How to use load_program command

Use load_program command for call to another script

this command is compatible with the 1.0f version of Sgneep-Box

load_program (SCRIPT_NAME)


# define function
make_sub funct
sub funct load_program hotpizza

# define button option
button_xy button1 10 10
button_dim button1 100 100
button_img button1 image.jpg
button_call button1 funct

# launch button in the screen
button_run button1

Powered by