# What event is triggered when block-link is opened?

**URL:** <https://forum.obsidian.md/t/what-event-is-triggered-when-block-link-is-opened/27252>\
**Category:** Devs: Plugins & API\
**Tags:** internal-links\
**Created:** [November 17, 2021, 4:59am UTC](https://forum.obsidian.md/t/what-event-is-triggered-when-block-link-is-opened/27252 "2021-11-17T04:59:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anton.Semenov](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/a/dc4da7/32.png) [@Anton.Semenov](https://forum.obsidian.md/u/Anton.Semenov)\
**Post date:** [November 17, 2021, 4:59am UTC](https://forum.obsidian.md/t/what-event-is-triggered-when-block-link-is-opened/27252/1 "2021-11-17T04:59:15Z")

</div>

How I can check inside my plugin that file was opened with a subpath to a specific block, so I can center and highlight this block?
