I want to check if all variables (which are booleans) in an array are true or false.
EG. (VERY basic and stripped down pseudo code just meant to get the point across)
var array = [x, y, z]
func onClick():
array[0] = false #x to false
array[1] = false #y to false
array[2] = false #z to false
func _process(delta):
#THIS IS THE PART HERE I NEED HELP WITH
if all of array is false:
do_thing()
Thank you in advance.