enabled/disabled Input to another Input

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By thoma

Hi,I want enabled or disabled Input to a another Input for example,

if Input.is_action_just_pressed("reload"):
	...
	#.disable shoot and enabled reload 

if Input.is_action_pressed("shoot")&&can_shoot&&reloading:
	...
		#enabled shoot
	        #disabled reload

Thank for helping me.