# How to change Sprite on Billboard in Construction Script

**URL:** <https://forums.unrealengine.com/t/how-to-change-sprite-on-billboard-in-construction-script/314966>\
**Category:** Mobile\
**Tags:** unreal-engine, editor, question\
**Created:** [April 14, 2015, 1:01am UTC](https://forums.unrealengine.com/t/how-to-change-sprite-on-billboard-in-construction-script/314966 "2015-04-14T01:01:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_f54268a3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f54268a3](https://forums.unrealengine.com/u/anonymous_user_f54268a3)\
**Post date:** [April 14, 2015, 1:01am UTC](https://forums.unrealengine.com/t/how-to-change-sprite-on-billboard-in-construction-script/314966/1 "2015-04-14T01:01:34Z")

</div>

I’d like to change the in Editor viewed Sprite on an Actor that is a spawner, based on what type of NPC the spawner is going to spawn.

I added a Billboard component, then set sprite on it, feeding it a sprite selected from comparing the set class variable of what to spawn, but it doesn’t do anything.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_f54268a3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f54268a3](https://forums.unrealengine.com/u/anonymous_user_f54268a3)\
**Post date:** [April 14, 2015, 1:05am UTC](https://forums.unrealengine.com/t/how-to-change-sprite-on-billboard-in-construction-script/314966/2 "2015-04-14T01:05:42Z")

</div>

Set Sprite( Billboard ). I was trying to use another node called set sprite which took a Texture2D. It works.

---

<div class="post-metadata">

**Author:** ![Chaoss](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Chaoss](https://forums.unrealengine.com/u/Chaoss)\
**Post date:** [September 10, 2015, 7:48am UTC](https://forums.unrealengine.com/t/how-to-change-sprite-on-billboard-in-construction-script/314966/3 "2015-09-10T07:48:29Z")

</div>

This functionallity has been taken out, it is no longer possible to use custom editor sprites ☹

---

<div class="post-metadata">

**Author:** ![Blindopoly](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Blindopoly](https://forums.unrealengine.com/u/Blindopoly)\
**Post date:** [June 7, 2019, 7:59pm UTC](https://forums.unrealengine.com/t/how-to-change-sprite-on-billboard-in-construction-script/314966/4 "2019-06-07T19:59:29Z")

</div>

You actually can do this pretty easily, you just need to replace the Default Scene Root with your own Scene Component and then add a Billboard Component to the new Scene Component.

Then in the construction script you can call SetSprite off the the Billboard Component.

One things to note: it’s a little tricky to replace the default scene root with your own. To do this you must first add a new Scene Component and the drag the new scene component over top of the default one to replace it.

![279131-actorchangebillboard.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/5/1/251a784bd730c04f9ce61ca5ca60dd5bcc44279a.png)

 ![279132-actorchangebillboard2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/5/4/054d3fe2a7bf7c28634131c8a68d40a2a4333f92.png)

---

<div class="post-metadata">

**Author:** ![FoamingGoat](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/foaminggoat/32/891856_2.png) [@FoamingGoat](https://forums.unrealengine.com/u/FoamingGoat)\
**Post date:** [March 3, 2024, 8:57am UTC](https://forums.unrealengine.com/t/how-to-change-sprite-on-billboard-in-construction-script/314966/5 "2024-03-03T08:57:38Z")

</div>

Worked a charm. Thank you!
