     var rlayer:Double
     var origin:SBOrigin
     var filepath:String
-    var x:Double
-    var y:Double
     var commands:[SBCommand]=[]
     var starttime=0
     var endtime=0
     var sprite:SKSpriteNode?
     var actions:SKAction?
+    //Initial value
+    var x:Double
+    var y:Double
+    var alpha:Double = 1
+    var r:Double = 1
+    var g:Double = 1
+    var b:Double = 1
+    var scale:Double = 1
+    var angle:Double = 0
     
     init(layer:SBLayer,rlayer:Double,origin:SBOrigin,filepath:String,x:Double,y:Double) {
         self.layer=layer

        sprite?.zPosition=CGFloat(rlayer)
        sprite?.position=CGPoint(x: x, y: y)
        sprite?.blendMode = .alpha
        sprite?.color = .white
        sprite?.colorBlendFactor=1.0
        sprite?.alpha=0
        switch origin {
        case .TopLeft:
            sprite?.anchorPoint=CGPoint(x: 0, y: 1)

        if sprite==nil {
            return
        }
        var size=sprite?.size
        size?.width*=CGFloat(StoryBoard.actualwidth/StoryBoard.stdwidth)
        size?.height*=CGFloat(StoryBoard.actualheight/StoryBoard.stdheight)
