FAnalogInputEvent::GetAnalogValue

Returns the analog value between 0 and 1.

Windows
MacOS
Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Input/Events.h

Include

#include "Input/Events.h"

Syntax

float GetAnalogValue() const

Remarks

Returns the analog value between 0 and 1. 0 being not pressed at all, 1 being fully pressed. Non analog keys will only be 0 or 1.

Returns

Analog value between 0 and 1. 1 being fully pressed, 0 being not pressed at all

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss