var sp = this.add_component(component.sprite); sp.path = "sprites/pipe-green.png"; this.draw_layer = -5; this.phys = physics.static;