Fetch Single asset without for loop?
You can call the first() function to just get the first image:



{% set image = block.backgroundImage.first() %}
{{ image.getUrl() }}


But this will fail if there is no image. So to be safe, you need:

{% set image = block.backgroundImage.first() %}
{% if image %}
    {{ image.getUrl() }}
{% endif %}