Shall those be broken? -- This script runs automatically when a card/deck starts function onLoad() -- Print a message to the console for testing print("Welcome to Castle! Your script is running.") -- Example: Change the position or rotation of the current actor -- 'my' references the specific object this script is attached to my.layout.x = 0 my.layout.y = 0 end -- This runs roughly 60 times per second to handle smooth motion function onUpdate(dt) -- Rotate the object continuously over time my.layout.rotation = my.layout.rotation + (45 * dt) end -- This triggers when the actor interacts with another or receives a message function onMessage(message, triggeringActor) if message == "tap" then -- Spawn a new actor (e.g., creating a block or enemy) -- Format: castle.createActor("BlueprintName", x, y) castle.createActor("Wall", my.layout.x, my.layout.y + 2) end