# PolylineArrowMaterialProperty

**URL:** <https://community.cesium.com/t/polylinearrowmaterialproperty/12543>\
**Category:** CesiumJS\
**Created:** [March 7, 2021, 9:35am UTC](https://community.cesium.com/t/polylinearrowmaterialproperty/12543 "2021-03-07T09:35:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![antoniaggo](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/antoniaggo/32/3458_2.png) [@antoniaggo](https://community.cesium.com/u/antoniaggo)\
**Post date:** [March 7, 2021, 9:35am UTC](https://community.cesium.com/t/polylinearrowmaterialproperty/12543/1 "2021-03-07T09:35:25Z")

</div>

I try to change the property material in the code below.  
I try to use Cesium.PolylineArrowMaterialProperty(color) but I can’t do it.  
My goal is to create an arrow instead of a line.  
The cesium version is 1.78.0.

Can anyone help me  
?

This is my code:

------------viewer.entities.add({  
availability: new Cesium.TimeIntervalCollection([  
new Cesium.TimeInterval({ start: start, stop: stop }),  
]),  
position: positionProperties[i],  
model: {  
uri: airplaneUri,  
minimumPixelSize: 250,  
maximumScale: 10,  
},  
// Automatically compute the orientation from the position.  
orientation: new Cesium.VelocityOrientationProperty(  
positionProperties[i]  
),  
path: new Cesium.PathGraphics({  
width: 3,  
material: Cesium.Color.YELLOW,  
leadTime: 20,  
trailTime: 0,  
}),  
});

* * *

---

<div class="post-metadata">

**Author:** ![antoniaggo](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/antoniaggo/32/3458_2.png) [@antoniaggo](https://community.cesium.com/u/antoniaggo)\
**Post date:** [March 7, 2021, 12:12pm UTC](https://community.cesium.com/t/polylinearrowmaterialproperty/12543/2 "2021-03-07T12:12:54Z")

</div>

I get a dashed line changing material property by using:  
material: new Cesium.PolylineDashMaterialProperty({  
color: Cesium.Color.YELLOW,  
}),  
However, by using new Cesium.PolylineArrowMaterialProperty, seems don’t work.  
Any idea?

Thanks a lot
