# LayoutTransition > How a layout takes over from whatever it is replacing. `gg.lode.lecternapi.api.ui.LayoutTransition` --- ## Signature ```java public record LayoutTransition(int millis) ``` --- ## Notes Only meaningful when a layout replaces itself, one scene of a project giving way to another. The incoming scene starts at its own first keyframe, which is where the outgoing one was expected to have finished; end an intro early and that is not where anything is, so cutting to it snaps every element into place at once. Blending eases out of the pose actually on screen instead. Three answers, and the third is the interesting one: `inherit()` leaves the decision to the document, where the author set it per scene. A caller that has no opinion should say so rather than pick a number, or it overrides work the author did deliberately. --- ## Methods ### cut ```java public static LayoutTransition cut() ``` Snap straight to the new scene's first keyframe. --- ### blend ```java public static LayoutTransition blend(int millis) ``` Ease out of the pose on screen over `millis`. | Parameter | Type | |---|---| | `millis` | `int` | --- ### inherit ```java public static LayoutTransition inherit() ``` Use whatever the scene itself asks for. --- ### isInherited ```java public boolean isInherited() ``` Whether this leaves the choice to the document. ---