you dont need to cast to cube because you already got an actor of class cube, so just plug the return value into the MoveCube.
that said get actor of class is basically random if you have more than one cube
you dont need to cast to cube because you already got an actor of class cube, so just plug the return value into the MoveCube.
that said get actor of class is basically random if you have more than one cube