check variable

You can use the “IsValid” node to ensure the pointer variable is correct.

Hope that helps =)