strength
Returns the strength of this InputSignal. GameButton and Key will return as either -1
, 0
, or 1
. A GameAxis will return anything between -1
to 1
.
Return
a value between -1
to 1
See also
Parameters
type
the InputSignal strength to check
deadZone
the threshold a GameAxis needs to surpass in order to return a value other than 0
.