i want to make snake Dragon model to follow the spline path

@JoeProgram so i have removed the spline component that was added by myself but still in the spline variable drop down i cant select any other thing like I made a new blueprint class with a spline component in it and that was also not getting detected in the spline option

or there any other way to add a spline component in the viewport ?

i searched about it and this page said the same steps like i did to add spline component :-How to Edit a Spline Component in the Viewport | Unreal Engine 4.27 Documentation | Epic Developer Community