Widgets from client to server

Hi!
I have a player who has own inventory and some container with wich he must interact and take from it some items
But if I call player inventory widget, it works on server and client when I drag and drop items, but if I call container inventory widget from playercontroler(client function) and player inventory simultaneously, in player’s inventory, it works correctly, but if I interact with container’s items, they drag and drop on client only, though this function for change inventory position must call on server and client

Thank you in advance

Sorry for my English :slight_smile:

Widget functions are client-only, and HUD too. If you want to spawn objects on server, you have to call a server function for example in PlayerController, otherwise the object is spawned only on the player client.

Thanks!

I called all functions at first on the client than on server, but the thing was that my container didn’t have an owner in interaction on server and all functions called on client only

I found a solution here: