Enhanced Input screen-edge mouse scrolling

Idk if this is the correct way to do this, but might be a workaround if what you are after is to limit the code to the components tick:

// .h
UFUNCTION(BlueprintImplementableEvent)
    void EI_MouseXY();
// .cpp
EnhancedInputComponent->BindAction(MouseXY, ETriggerEvent::None, this, &AMyPlayerController::EI_MouseXY);

I’ll appreciate if someone would correct me or has an alternative.

1 Like