pxt-calliope/docs/reference/control/event-value.md

284 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 @boardname@ runtime messageBus documentation.