Determine whether it is gameplay editing mode
local result=World:isGameMakerMode()
if result==0 then--If it is gameplay editing mode
Chat:sendSystemMsg("Currently in gameplay editing mode!")
else--If it is not gameplay editing mode
Chat:sendSystemMsg("Currently not in gameplay editing mode!")
end
If you have any questions about Developer Tools, feel free to join our official discord server Mini World Global DEV discord