That’s not how blueprints work. You don’t create a class in c++ and add blueprint logic to it by creating the same thing in the editor. You need to create your blueprint with the class Atest. Then your function will be available.
1 Like