--[[pod_format="raw",created="2025-10-20 17:28:33",modified="2025-10-20 23:46:03",revision=3]] --WHITELIST: USERDATA abs add all assert atan2 blit btn ceil chr circ circfill cls color cos count create_gui create_meta_key date del deli fillp flr foreach key keyp line load -- should be fine? map math max mid min mouselock -- should be ok music -- pretty sure this is fine notify ord oval ovalfill pairs pal palt peektext -- might be sketchy to allow the site to read all keypresses? allowing for now pget --unsure about this one, it's a little sketchy but should be ok. pod print printh pset readtext -- sketchy? see peektext rect rectfill reset rnd set_clipboard set_draw_target sfx -- ok, probably sgn sin split spr sqrt sspr string sub table theme time tline tline3d tonum tonumber tostr tostring type -- fine, I think unmap unpod userdata utf8 -- ok, I think vec -- EXPLICITLY EXCLUDED FROM WHITELIST: -- (those that say "idk" after are ones I'm uncertain about, either because I don't know what it does or because I'm not sure if it could be a security issue. -- I've found it fairly difficult to find extensive documentation for Picotron's API and I haven't gotten around to exploring everything quite yet.) -- apply_delta -- camera -- cd -- clear_key -- idk -- clip -- idk -- cocreate -- idk if this could cause problems, what environment will it run in? -- collectgarbage -- idk -- coresume -- same as cocreate -- coroutine -- same -- cp -- create_process -- create_undo_stack -- idk -- cursor -- idk -- debug -- env -- error -- idk -- exit -- fetch -- fetch_metadata -- fget -- idk -- flip -- idk -- fset -- idk -- fstat -- idk -- fullpath -- get -- idk -- get_clipboard -- kinda sketchy -- get_display -- idk -- get_draw_target -- idk -- get_spr -- getmetatable -- idk -- include -- ipairs -- idk -- ls -- memcpy -- idk -- memmap -- idk -- memset -- idk -- menuitem -- mget -- idk -- mkdir -- mount -- idk -- mouse -- want to define a custom mouse function because of offsets -- mset -- idk -- mv -- next -- idk -- note -- idk -- on_event -- pretty sure I don't want this whitelisted, could intercept events it shouldn't have access to? -- pack -- this might be okay? -- pcall -- idk -- peek -- pretty sure peeks shouldn't be whitelisted, could potentially be used to access to users filesystem, right? -- peek2 -- peek4 -- peek8 -- pid -- poke -- pretty sure pokes shouldn't be whitelisted either -- poke2 -- poke4 -- poke8 -- pwd -- idk -- rawequal -- idk -- rawget -- idk -- rawlen -- idk -- rawset -- idk -- rm -- select -- idk -- send_message -- idk -- set -- idk -- set_spr -- this might be okay actually -- setmetatable -- idk -- srand -- idk -- stat --idk -- stop -- store -- store_metadata -- t -- idk -- tokenoid -- idk -- unpack -- pretty sure this is okay too? will look into it. -- vid -- warn -- idk -- window -- wrangle_working_file -- yield