October 2016
Intermediate to advanced
452 pages
9h 47m
English
When using the Unreal Motion Graphics (UMG) toolkit, you will find that mouse events are very easy to handle. We can register C++ functions to run after mouse clicks or other types of interactions with the UMG components.
Usually, event registration will be via Blueprints; but in this recipe, we will outline how to write and wire-up C++ functions to UMG events.
Create a UMG canvas in your UE4 project. From there, we'll register event handlers for the OnClicked, OnPressed, and OnReleased events.
Read now
Unlock full access