• Index of the next enabled item from from in direction, wrapping at the ends and skipping disabled items. Returns -1 when nothing is enabled.

    Parameters

    Returns number