Get component of gameobject of parent returns null

Project setup
setup

Script In AimArrowStuff:

CharContrl cs = gameObject.GetComponent () as CharContrl;

How can I fix this?
(Ignore input errors please :smiley: )

At first sight, you are trying to access the CharControl with:

gameObject.GetComponent<CharControl>();

but that would mean the other script is on that same object and I don’t see any DrawAimingLine on this game object.

If the two components are not on the same objects you first need to find the other one and this has 1000 of answers here.