Can i made multi flip flop?

can i made multi flip flop?
like every time i press key it will get a new weapon or so
the flip flop has just 2 outputs
can i have more than 2?

…and mod n, where n is the number of elements in the array.

Why you want to use flip flop for that? All you need to do is hold weapons in array and +1 the index

i made the weapons index in enum
so i have to make array to the enum and +1
thank u very much

FlowControl / MultiGate

1 Like

This is the answer.

1 Like