# How can i Set Spline Scale visualization Width

**URL:** <https://forums.unrealengine.com/t/how-can-i-set-spline-scale-visualization-width/253414>\
**Category:** Blueprint\
**Tags:** unreal-engine, UE4-26\
**Created:** [September 30, 2021, 4:12am UTC](https://forums.unrealengine.com/t/how-can-i-set-spline-scale-visualization-width/253414 "2021-09-30T04:12:26Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Freedomist](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Freedomist](https://forums.unrealengine.com/u/Freedomist)\
**Post date:** [September 30, 2021, 4:12am UTC](https://forums.unrealengine.com/t/how-can-i-set-spline-scale-visualization-width/253414/1 "2021-09-30T04:12:26Z")

</div>

I want to set spline Scale visualization Width as the road width , but i can 't set it in Blueprint. so i must use splinemesh ?

---

<div class="post-metadata">

**Author:** ![Bevman00](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Bevman00](https://forums.unrealengine.com/u/Bevman00)\
**Post date:** [September 30, 2021, 4:43am UTC](https://forums.unrealengine.com/t/how-can-i-set-spline-scale-visualization-width/253414/2 "2021-09-30T04:43:56Z")

</div>

You can set it in the details tab of the spline component, but if you dont mind me asking, why do you want to do this? If your road is being made at construction with an ‘add spline mesh component’ node (presumably) so you should be able to see your road in the editor window in lit mode.

---

<div class="post-metadata">

**Author:** ![Freedomist](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Freedomist](https://forums.unrealengine.com/u/Freedomist)\
**Post date:** [September 30, 2021, 5:07am UTC](https://forums.unrealengine.com/t/how-can-i-set-spline-scale-visualization-width/253414/3 "2021-09-30T05:07:19Z")

</div>

actually！i have a Float variable as road width .i want use this variable to set spline Scale visualization Width which are in the details, use spline visualization Width as my road width to Saving performance 。I am worried about Consumeing a lot of performance use splinemehs

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [September 30, 2021, 7:24am UTC](https://forums.unrealengine.com/t/how-can-i-set-spline-scale-visualization-width/253414/4 "2021-09-30T07:24:46Z")

</div>

> [@Freedomist](#):
>
> i want use this variable to set spline Scale visualization Width which are in the details

This is just a coefficient for the whole spline. Once you set it to a value, you can then scale any spline point and it will use that factor as a base:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/3X/6/b/6b2dbe439759f12814045037fa335afe7143ddb8.png)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/3X/0/8/0826adba5350068c477ee62ef3239bdb97be35bb.jpeg)

If you’re doing it from blueprints, in the CS - ensure you tick _Input Spline Points to Construction Script_. Assuming the forward is X, you’ll want to scale Y if it’s a road.

Unless it’s a road to crazy town, who knows.

* * *

> I am worried about Consumeing a lot of performance use splinemehs

Once left to their own devices, they perform well enough. Updating them in real time (tick) _is_ a performance hog, though.

---

<div class="post-metadata">

**Author:** ![Freedomist](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Freedomist](https://forums.unrealengine.com/u/Freedomist)\
**Post date:** [September 30, 2021, 8:07am UTC](https://forums.unrealengine.com/t/how-can-i-set-spline-scale-visualization-width/253414/5 "2021-09-30T08:07:04Z")

</div>

> [@Everynone](#):
>
> in the CS

Thanks,Bro,that is i want, but this node added in 4.27 ， my work project in 4.24·········

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [September 30, 2021, 8:08am UTC](https://forums.unrealengine.com/t/how-can-i-set-spline-scale-visualization-width/253414/6 "2021-09-30T08:08:23Z")

</div>

Which node?

---

<div class="post-metadata">

**Author:** ![Freedomist](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Freedomist](https://forums.unrealengine.com/u/Freedomist)\
**Post date:** [September 30, 2021, 8:09am UTC](https://forums.unrealengine.com/t/how-can-i-set-spline-scale-visualization-width/253414/7 "2021-09-30T08:09:58Z")

</div>

set Scale at Spline Point。

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [September 30, 2021, 8:12am UTC](https://forums.unrealengine.com/t/how-can-i-set-spline-scale-visualization-width/253414/8 "2021-09-30T08:12:57Z")

</div>

There’s been updates to splines in 4.26, 4.27. Not sure when _this_ was added. Perhaps it’s time to upgrade?

---

<div class="post-metadata">

**Author:** ![Freedomist](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Freedomist](https://forums.unrealengine.com/u/Freedomist)\
**Post date:** [September 30, 2021, 8:26am UTC](https://forums.unrealengine.com/t/how-can-i-set-spline-scale-visualization-width/253414/9 "2021-09-30T08:26:10Z")

</div>

yes，but i am not project manager，I haven‘t power to make decision；maybe only use spline mesh to visualization Width in editor。  
In a word， thanks bro。
