Getting data from a specific point on a path


#1

Hello lovely people!

I was wondering if there is a way of getting information from selecting a point on a path (what number it is, or how many points there are on a path etc)
Skimmed through the docs and forum, can’t seem to find anything like that?
Or should I go through the pathData itself?

Thanks in advance,
Have an awesome weekend!


#2

@Irina the only property availale in path object is pathData. So you will have to go through the pathData itself at the moment.


#3

Thanks @stevekwak for answering @Irina so quickly :+1:


#4

Something that might help is that the pathData is a representation of SVG paths… which hopefully means there are some libraries that you can use to do the parsing. :slight_smile:


#5

Awesome!
Thanks guys! :slight_smile: