UMG button appearance from c++

hi,

when i hover with my mouse over a UMG Button it will apply the Hover appearance that i set here: Screenshot - 159000822d1af1a77f56ca5efb924893 - Gyazo

but how can i apply these appearance’s with c++ whenever i want?

thanks in advance,

i think i need to do something like this btnPtr->SlateHandleHovered(); but then i get the error: cannot access protected member declared in class ‘UButton’

thanks in advance,