get_frame_number
get_frame_number(); - get the number of the frame that contains the element (available from version 7.0.15)
After testing, the function returns the result of its work to the script :
frame number – the number of the frame in which the element-1 – if it is not contained in the frame