Getting Parameter From Block Settings

Hi everyone. Im creating a custom addons and I want to use the block settings to manipulate the limit of item I want to display. All I know is that if getting the setting from backend/admin panel i will use Registry::get('addons.my_addons.setting'). How about getting the settings from block? Do I have to pull it from database under bm_blocks? An example would be a big help. Thanks in advance!

You can add custom settings to your blocks with the app/schemas/block_manager/blocks.php schema. It can be extended with the custom addon. Also specific settings can be added for certain templates and fillings. Check corresponding files in the same directory