on (press) { content.direction = -1; } on (release, releaseOutside) { content.direction = 0; }