Skip to main content
Question

How to get Z-Index or Node Position from Current Page Selection

  • December 18, 2022
  • 1 reply
  • 834 views

Ehsanul_Hoque

Hi There,

Is it possible to for the Z-Index position or node position from Selected Layer or number of selection

Say, for example, I want to know the Selected GREEN BOX position at Landing (Icon Hide) frame on the attached image. Which property I should call for that GREEN BOX named node? In CSS, we pronounce it as Z-index.

Thanks in Advance

Gleb
  • Power Member
  • December 18, 2022

const index = selectedNode.parent.children.indexOf(selectedNode)


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings