An instance of type 'UnityEngine.Rigidbody2D' is required to acces non static member 'velocity'.


i dont know what is the problem here can someone please help me? :slight_smile:

Try using Rigidbody2D instead it seems to be saying you need Rigidbody2D to access the velocity variable which is contained within the Rigidbody, make sure they all have a capital “R” instead and it should work hopefully.