Cant put script into a variable

Please use code tags.

The reason you can’t drag your MovementScript into your “movement” variable is because you declared your “movement” variable as having the type “CollisionScript”, and MovementScript is not a CollisionScript.

If you want the “movement” variable to reference a MovementScript, change its type

public MovementScript movement;

1 Like