Python Module Controllers

I am programming this attack satellite thing that will protect the player. and I am trying to use the module controllers. Unfortunately, it keeps giving me errors looking for the sensors in the other functions.

Solved