blockly > FocusManager > getPreviouslyFocusedNode
FocusManager.getPreviouslyFocusedNode() method
Returns the IFocusableNode that held focus immediately before the current focused node, or null if there is no such node.
Signature:
getPreviouslyFocusedNode(): IFocusableNode | null;
Returns:
IFocusableNode | null