How do I make a working gumball machine

I would like to make a working gumball machine. I want it to work like this: a player will have to buy a consumable and then once they use the gumball machine the consumable is used. I want the machine to dispense coloured gumballs.

1 Like

Button pushed → Prompt the gumball consumable
when gumball consumable used → consumable activate → delay → consumable deactivate → g = random from list [gumballs](each gumball should have the tag of like j or something) → set position of g to wherever the dropper of the gumball machine is

Yeah I’m having trouble with the “use consumable when button pressed” because I don’t know how to do it

Connect pressed to consumable activate

Yeah that’s not where I’m having trouble, how do I choose what consumable

Configure Consumable constant

What circuit piece is the “gumball output” one

Nvm got that sorted

What is the gumball output chip?

That appears to be the Vector Component, just renamed to something different.

1 Like

Vector component?

Here’s a simplified version of the circuit flow:

  • Button Pressed → Activate Consumable → Randomize Gumball Color → Dispense Gumball.
1 Like