Gamepad.on is not a function

Thanks! That got rid of the error, but the functionality isn’t there. I’m probably not using the switch statement right here.

Ususally you can assign what happens when a button is pressed using an if statement like so:

if (pad.up){
	//code here...
}

Is there a way to adapt this to a switch statement?