extends ParallaxBackground # class member variables go here, for example: # var a = 2 # var b = "textvar" func _ready(): $ParallaxLayer.motion_mirroring = $ParallaxLayer/Sprite.texture.get_size().rotated($ParallaxLayer/Sprite.global_rotation) func _process(delta): var scroll = Vector2(0, 3) self.scroll_offset += scroll