Stay organized with collections
Save and categorize content based on your preferences.
blockly > bumpObjects
bumpObjects namespace
Functions
Variables
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["\u003cp\u003eThe \u003ccode\u003ebumpObjects\u003c/code\u003e namespace provides functionalities for managing the position of objects within Blockly workspaces, primarily focusing on preventing them from exceeding boundaries.\u003c/p\u003e\n"],["\u003cp\u003eIt includes functions like \u003ccode\u003ebumpIntoBoundsHandler\u003c/code\u003e to create custom boundary handlers and \u003ccode\u003ebumpTopObjectsIntoBounds\u003c/code\u003e to reposition objects within defined limits.\u003c/p\u003e\n"],["\u003cp\u003eA key variable, \u003ccode\u003ebumpIntoBounds\u003c/code\u003e, likely plays a crucial role in the boundary detection and collision management processes within this namespace.\u003c/p\u003e\n"]]],[],null,["[blockly](./blockly.md) \\\u003e [bumpObjects](./blockly.bumpobjects_namespace.md)\n\nbumpObjects namespace\n---------------------\n\nFunctions\n---------\n\n| Function | Description |\n|---------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------|\n| [bumpIntoBoundsHandler(workspace)](./blockly.bumpobjects_namespace.bumpintoboundshandler_1_function.md) | Creates a handler for bumping objects when they cross fixed bounds. |\n| [bumpTopObjectsIntoBounds(workspace)](./blockly.bumpobjects_namespace.bumptopobjectsintobounds_1_function.md) | Bumps the top objects in the given workspace into bounds. |\n\nVariables\n---------\n\n| Variable | Description |\n|------------------------------------------------------------------------------|-------------|\n| [bumpIntoBounds](./blockly.bumpobjects_namespace.bumpintobounds_variable.md) | |"]]