Looks

Say For Seconds

isTouchingEdge()
// 'bottom', 'top', 'left' or 'right'
// Example: isTouchingEdge 'bottom', 'top', 'left' or 'right'
exampleSprite_sprite.whenFlag(function () {
        
    while(true){                                                   
        this.changeY(-2)
        if (this.isTouchingEdge('bottom')) {
            this.say ('touching bottom edge')
        } else {
            this.say('not touching bottom edge')
        }
    }       
})

Say

isTouchingEdge()
// 'bottom', 'top', 'left' or 'right'
// Example: isTouchingEdge 'bottom', 'top', 'left' or 'right'
exampleSprite_sprite.whenFlag(function () {
        
    while(true){                                                   
        this.changeY(-2)
        if (this.isTouchingEdge('bottom')) {
            this.say ('touching bottom edge')
        } else {
            this.say('not touching bottom edge')
        }
    }       
})

Think For Seconds

isTouchingEdge()
// 'bottom', 'top', 'left' or 'right'
// Example: isTouchingEdge 'bottom', 'top', 'left' or 'right'
exampleSprite_sprite.whenFlag(function () {
        
    while(true){                                                   
        this.changeY(-2)
        if (this.isTouchingEdge('bottom')) {
            this.say ('touching bottom edge')
        } else {
            this.say('not touching bottom edge')
        }
    }       
})

Think

isTouchingEdge()
// 'bottom', 'top', 'left' or 'right'
// Example: isTouchingEdge 'bottom', 'top', 'left' or 'right'
exampleSprite_sprite.whenFlag(function () {
        
    while(true){                                                   
        this.changeY(-2)
        if (this.isTouchingEdge('bottom')) {
            this.say ('touching bottom edge')
        } else {
            this.say('not touching bottom edge')
        }
    }       
})

Switch Costume

isTouchingEdge()
// 'bottom', 'top', 'left' or 'right'
// Example: isTouchingEdge 'bottom', 'top', 'left' or 'right'
exampleSprite_sprite.whenFlag(function () {
        
    while(true){                                                   
        this.changeY(-2)
        if (this.isTouchingEdge('bottom')) {
            this.say ('touching bottom edge')
        } else {
            this.say('not touching bottom edge')
        }
    }       
})

Next Costume

isTouchingEdge()
// 'bottom', 'top', 'left' or 'right'
// Example: isTouchingEdge 'bottom', 'top', 'left' or 'right'
exampleSprite_sprite.whenFlag(function () {
        
    while(true){                                                   
        this.changeY(-2)
        if (this.isTouchingEdge('bottom')) {
            this.say ('touching bottom edge')
        } else {
            this.say('not touching bottom edge')
        }
    }       
})

Switch Backdrop

isTouchingEdge()
// 'bottom', 'top', 'left' or 'right'
// Example: isTouchingEdge 'bottom', 'top', 'left' or 'right'
exampleSprite_sprite.whenFlag(function () {
        
    while(true){                                                   
        this.changeY(-2)
        if (this.isTouchingEdge('bottom')) {
            this.say ('touching bottom edge')
        } else {
            this.say('not touching bottom edge')
        }
    }       
})

Next Backdrop

isTouchingEdge()
// 'bottom', 'top', 'left' or 'right'
// Example: isTouchingEdge 'bottom', 'top', 'left' or 'right'
exampleSprite_sprite.whenFlag(function () {
        
    while(true){                                                   
        this.changeY(-2)
        if (this.isTouchingEdge('bottom')) {
            this.say ('touching bottom edge')
        } else {
            this.say('not touching bottom edge')
        }
    }       
})

Change size

isTouchingEdge()
// 'bottom', 'top', 'left' or 'right'
// Example: isTouchingEdge 'bottom', 'top', 'left' or 'right'
exampleSprite_sprite.whenFlag(function () {
        
    while(true){                                                   
        this.changeY(-2)
        if (this.isTouchingEdge('bottom')) {
            this.say ('touching bottom edge')
        } else {
            this.say('not touching bottom edge')
        }
    }       
})

Set Size

isTouchingEdge()
// 'bottom', 'top', 'left' or 'right'
// Example: isTouchingEdge 'bottom', 'top', 'left' or 'right'
exampleSprite_sprite.whenFlag(function () {
        
    while(true){                                                   
        this.changeY(-2)
        if (this.isTouchingEdge('bottom')) {
            this.say ('touching bottom edge')
        } else {
            this.say('not touching bottom edge')
        }
    }       
})

Show

isTouchingEdge()
// 'bottom', 'top', 'left' or 'right'
// Example: isTouchingEdge 'bottom', 'top', 'left' or 'right'
exampleSprite_sprite.whenFlag(function () {
        
    while(true){                                                   
        this.changeY(-2)
        if (this.isTouchingEdge('bottom')) {
            this.say ('touching bottom edge')
        } else {
            this.say('not touching bottom edge')
        }
    }       
})

Hide

isTouchingEdge()
// 'bottom', 'top', 'left' or 'right'
// Example: isTouchingEdge 'bottom', 'top', 'left' or 'right'
exampleSprite_sprite.whenFlag(function () {
        
    while(true){                                                   
        this.changeY(-2)
        if (this.isTouchingEdge('bottom')) {
            this.say ('touching bottom edge')
        } else {
            this.say('not touching bottom edge')
        }
    }       
})

GoTo Front/Back Layer

isTouchingEdge()
// 'bottom', 'top', 'left' or 'right'
// Example: isTouchingEdge 'bottom', 'top', 'left' or 'right'
exampleSprite_sprite.whenFlag(function () {
        
    while(true){                                                   
        this.changeY(-2)
        if (this.isTouchingEdge('bottom')) {
            this.say ('touching bottom edge')
        } else {
            this.say('not touching bottom edge')
        }
    }       
})

Go Forwards/Backwards a Layer

isTouchingEdge()
// 'bottom', 'top', 'left' or 'right'
// Example: isTouchingEdge 'bottom', 'top', 'left' or 'right'
exampleSprite_sprite.whenFlag(function () {
        
    while(true){                                                   
        this.changeY(-2)
        if (this.isTouchingEdge('bottom')) {
            this.say ('touching bottom edge')
        } else {
            this.say('not touching bottom edge')
        }
    }       
})