Hello everybody,

I’m trying to learn how to use Unreal.js & I can’t find a way to do this (I think I have a problem with finding equivalent in JS).
i would like to change a Vector Parameter Value in a Material with a JS script

I’m using this function :

And the only thing I have in return is :


I’m sorry if this is kind of noobish but do you have any idea how I can do this?

Thanks a lot

You should use MaterialInstanceDynamic instead of Material.

Thanks for your answer nako_sung !
I did that but when I try to apply it to my actor I have the same error : (SetMaterial is not a function) here is my code :