# HELP! Simple Multiplayer Set Material

**URL:** <https://forums.unrealengine.com/t/help-simple-multiplayer-set-material/489353>\
**Category:** Multiplayer & Networking\
**Tags:** unreal-engine, multiplayer-testing, Multiplayer, question\
**Created:** [September 29, 2021, 7:16pm UTC](https://forums.unrealengine.com/t/help-simple-multiplayer-set-material/489353 "2021-09-29T19:16:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dennis\_PacheSan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dennis\_PacheSan](https://forums.unrealengine.com/u/Dennis_PacheSan)\
**Post date:** [September 29, 2021, 7:16pm UTC](https://forums.unrealengine.com/t/help-simple-multiplayer-set-material/489353/1 "2021-09-29T19:16:37Z")

</div>

Hello, i’m trying to **toggle change** a Cube back and forth into a different material and back to normal from the **Client-side** and have it shown to all client that the material has changed through **Server Communication.**

**See Picture Below for the Blueprint Coded to do as said above.**

 ![349607-presse.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/8/7/e87ace72e9f9033d95ecaa2e118fae18e4205d6d.jpeg)

When the Client Press E **for the first time** , it ask the Server to **Execute Flip Flop A** to **Get Actor Of Class; Cube;** which then execute the **Variable Cube Rep Notify Green** to all client that the said Cube has changed material to green.

**See Picture Below for the Cube Rep Notify Green Variable Function’s Code.**

 ![349608-settogreen.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/c/4/9c43b8697965ae9042f8a8b97baff6f573813d3c.jpeg)

When Client Press E **on the second time** , it asks the server to execute **Flip Flop B** ; which in short, change the material back to **normal.**

**See Picture below for the Cube Rep Notify Normal Variable Function’s Code.**

 ![349641-settonormal.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/b/2/1b2bf8b6cd5e55554ff4a3e79b2f7779442908ac.jpeg)

Now, when the **First and Second time E** is pressed; it works fine. All Client and Server alike can see the Cube’s Material changed and displayed correctly.

However… when E is pressed on the for **Third time** , the **Material Fails** to display the correct material to all client except for the server but **Successfully Display** the correct **Print String.**

This is where I get stumped. I have tried Multicast, Flip Flop after E Input, etc… and I can’t think of any other things to get this working the way I want it to. Any pointers and tips are appreciated.

Thanks!
