Linking Urls


I’m trying to set up one button that will open specific URLS based off the mesh that is being shown on my player character. How would I go about making two separate meshes open different file directories based off which mesh is currently being shown in my viewport. I’ve figured out how to open up directories, but I’m not sure how to make specific directories for different meshes utilizing one button.

I have a blueprint class that will swap meshes of my character by button press. However now I need one button in particular in my UI to change what Url it launches based off the mesh being shown on my character.

how would I go about making one button have multiple functions based off the mesh being displayed

screenshots_code.PNG I’m not sure if I’m heading in the correct direction, but here is where I’m currently at with the code trying to figure it out. I cannot seem to find any other posts relative to what I’m trying to achieve