Directly access to hand gestures like clench.. ? (Interface)

Hey everyone,

I have a question about hand gestures. Does an app only have access to hand gestures when assistivetouch is activated?

Or is there an interface in the documentation, which gives you directly access to the recognition of these hand gestures?

Example: Thinking of a game that will be played with hand gestures. The character jumps when the user does a clench and stops when the user clenched twice. Would that be possible or works it only if the assistivetouch is activated and configured?