Get the current perspective editing status
local result,state=World:getCameraEditState()
if state==0 then--0:Default
Chat:sendSystemMsg("Current perspective editing status is:Default")
elseif state==1 then--1:Editing
Chat:sendSystemMsg("Current perspective editing status is:Editing")
elseif state==2 then--2:Testing
Chat:sendSystemMsg("Current perspective editing status is:Testing")
end
If you have any questions about Developer Tools, feel free to join our official discord server Mini World Global DEV discord