Skip to content

onClientElementEnterScreen #678

@ArranTuna

Description

@ArranTuna

Is your feature request related to a problem? Please describe.
Trying to make scripts more efficient, such as only applying a shader on an element when it comes on screen.

Describe the solution you'd like
An event that is triggered when an element comes on screen.

Describe alternatives you've considered
Which would save having to check isElementOnScreen hundreds of times every frame which is so inefficient that any savings made are lost in this constant checking.

Additional context
I guess onClientElementExitScreen could be useful for some too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions