put the yoshi in it's own layer, and then put this code into the level's lua file.
Code: Select all
local LAYER_NAME = "test" --name of the yoshi's layer
function onStart()
if(SaveData.seenYoshiL == true) then
Layer.get(LAYER_NAME):hide(true)
end
SaveData.seenYoshiL = true
end
be sure to test this in the episode itself and not the level editor, as the play tester might not maintain SaveData between multiple tests