pressed property

bool pressed
final

true if the button was just pressed this frame.

Implementation

final bool pressed;