In this course, author Joel Bradley explains how to create a tool using the Blueprint visual scripting system that randomly scatters user-selected Static Mesh files inside a defined area, such as flowers in a flower bed.
https://dev.epicgames.com/community/learning/courses/4mQ/unreal-engine-creating-a-scatter-tool-with-blueprints