Easy Demo
env:
Win10
x64
UE4 4.26.1
VS2017
First: Create a BP Actor and Inherited ManagerCheckerBoard class and set the property to choice the Init-CubeMaterials;
next :set property input->"Auto Reveive input" Player0;
then :Set "Project Settings"->input ;
final:call function "ExcuteInputEvent" ;