# Extend to Nested Objects [GstarCAD 2022](Help%20System/GSTARCAD/2022/Index.md) → [User Guide](Help%20System/GSTARCAD/2022/User%20Guide/(User%20Guide).md) → [Express tool](Help%20System/GSTARCAD/2022/User%20Guide/Express%20tool/(Express%20tool).md) → [Blocks](Help%20System/GSTARCAD/2022/User%20Guide/Express%20tool/Blocks/(Blocks).md) The BEXTEND command is used to extend objects such as line segment, arc, polyline or ray to a block. Objects would be extended to a block as close as possible if they cannot intersect with each other. Command line prompts as follow: **Select objects or \<select all\>:** Select one or more blocks and press ENTER **Select the object to Extend or Shift-select to Trim or \[Edge/Fence/Crossing/Project\]:** Select object(s) or enter an option and press ENTER