Hello everyone, I was wondering how I could simply add or subtract to the X or Y variables of an object when clicking a certain key. I’m trying to program a game with C++ instead of using the blueprints as I prefer to program.
I’m looking for something like this
if (w key){
player.xposition += 1
}