enableOutput(name) , method of player

Enable the output motion on the cinema for this player.

See Player outputs

Parameters:
name type description
name string name of the event
// receive swipe events to detect left,up,right or down touch movement.

UB.player(playerID).enableOutput("swipe");

See all methods of the api.