Blockland Forums > Help

how do i make a push release button?

Pages: (1/2) > >>

RUSH0814:

hey everyone, so I want to know how to make an event where I click a brick, and it turns on a light, but turns off as soon as i release my mouse. So, I want the light to flash essentially, but only as long as I click the button for. is this possible with events?

End:

Perhaps variables? (I'm clueless).

Big Brother might know how to pull it off - if it is possible. Maybe you could shoot him a PM if you don't immediately get any help.

Peejster:


--- Quote from: End on June 14, 2012, 09:04:56 PM ---Perhaps variables? (I'm clueless).

Big Brother might know how to pull it off - if it is possible. Maybe you could shoot him a PM if you don't immediately get any help.

--- End quote ---
No, you'd probably need an entirely new event for holding the mouse button. The default one just checks for each and every separate click.

¥ola:


--- Quote from: Peejster on June 14, 2012, 09:15:06 PM ---No, you'd probably need an entirely new event for holding the mouse button. The default one just checks for each and every separate click.

--- End quote ---
You can however set it to the jet button, typically your right mouse button, using VCE.

Would that work for you?

RUSH0814:


--- Quote from: ¥ola on June 14, 2012, 09:21:18 PM ---You can however set it to the jet button, typically your right mouse button, using VCE.

Would that work for you?

--- End quote ---
what do you mean? set the on button to left click, and to turn it off right click?

Pages: (1/2) > >>

Go to full version