how would I turn it on and off via nodes??
If I understand your question correctly, then there are bools for that: