diff --git a/content/en-us/reference/engine/classes/UIPageLayout.yaml b/content/en-us/reference/engine/classes/UIPageLayout.yaml index 4f0ffa849..dd8f305ab 100644 --- a/content/en-us/reference/engine/classes/UIPageLayout.yaml +++ b/content/en-us/reference/engine/classes/UIPageLayout.yaml @@ -308,9 +308,13 @@ methods: events: - name: UIPageLayout.PageEnter summary: | - Fires when a page comes into view, and is going to be rendered. + Fires when a page comes into view, has its visible property toggled on, and is going to be rendered. This will never fire if `GuiObject.ClipsDescendants` is set to false for its parent and may trigger multiple times depending on the animation used. + + In order to listen to a page index changes, connect to `:GetPropertyChangedSignal("CurrentPage")` instead. description: | - Fires when a page comes into view, and is going to be rendered. + Fires when a page comes into view, has its visible property toggled on, and is going to be rendered. This will never fire if `GuiObject.ClipsDescendants` is set to false for its parent and may trigger multiple times depending on the animation used. + + In order to listen to a page index changes, connect to `:GetPropertyChangedSignal("CurrentPage")` instead. code_samples: [] parameters: - name: page @@ -324,9 +328,13 @@ events: - UI - name: UIPageLayout.PageLeave summary: | - Fires when a page leaves view, and will not be rendered. + Fires when a page leaves view, has its visible property toggled off, and is no longer going to be rendered. This will never fire if `GuiObject.ClipsDescendants` is set to false for its parent and may trigger multiple times depending on the animation used. + + In order to listen to a page index changes, connect to `:GetPropertyChangedSignal("CurrentPage")` instead. description: | - Fires when a page leaves view, and will not be rendered. + Fires when a page leaves view, has its visible property toggled off, and is no longer going to be rendered. This will never fire if `GuiObject.ClipsDescendants` is set to false for its parent and may trigger multiple times depending on the animation used. + + In order to listen to a page index changes, connect to `:GetPropertyChangedSignal("CurrentPage")` instead. code_samples: [] parameters: - name: page