Export thingamajig does not work

Godot 4.3
[Export] doesn’t seem to make teh variable appear in the editor for some reason
the script script is indeed attatched to the object I’m looking for the variable in.

using Godot;
namespace SpetzV6.FrameWork;
public partial class HazardOBJ : Area3DOBJ
{
    [Export]
    public float KnockBack;
    public override void _Ready()
    {
        base._Ready();
        PlayerEnterEvent += (Player) =>
        {
            Player.StateMachine.SetState(new PlayerStates.Hurt(Player,this));
        };
    }
}

the name of the script was not the same name as the class :man_facepalming: