Black
SCRIPT:
function onMessage(message, triggeringActor)
if message == "tap" then
castle.getTextInput(function(text, canceled)
if canceled then
-- print("canceled")
else
my.text.content = text
castle.sendTriggerMessage("update")
end
end)
end
end
function onCreate() end
function onUpdate(dt) end