pxt-calliope/docs/reference/control/event-value.md
2016-07-21 13:29:59 -07:00

282 B

Event Value

Get the value of the last event executed on the bus.

control.eventValue();

This is an advanced API. For more information, see the micro:bit runtime messageBus documentation.