I have a above error in my code 'export(int) var value = 10' please help me

    mahesh_07 In addition to what xyz said, @export has no arguments. To give value a type, do var value:int = 10

    21 days later

    hi
    var isleft = velocity.x < 0
    Sprite2D.flip_h = isleft
    experiencing unexpected identifier at "Sprite2D.flip_h = isleft"

    • Toxe replied to this.

      preserverwolf "Sprite2D" is a class name. Are you sure that is what your sprite variable is called?