# How to make Annotation Rectangle tool to enable drawing based on click of annotate button

**URL:** <https://pdfjs.community/t/how-to-make-annotation-rectangle-tool-to-enable-drawing-based-on-click-of-annotate-button/2053>\
**Category:** Technical Support\
**Created:** [September 21, 2022, 1:30pm UTC](https://pdfjs.community/t/how-to-make-annotation-rectangle-tool-to-enable-drawing-based-on-click-of-annotate-button/2053 "2022-09-21T13:30:08Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/1X/ffbcd25c7d423db8d5acd5db201c272f4db306dd.png) [@system](https://pdfjs.community/u/system)\
**Post date:** [September 21, 2022, 1:30pm UTC](https://pdfjs.community/t/how-to-make-annotation-rectangle-tool-to-enable-drawing-based-on-click-of-annotate-button/2053/3 "2022-09-21T13:30:13Z")

</div>

**Hello, I’m Ron, an automated tech support bot 🤖**

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:

Guides:
- [Manually download and integrate PDF.js Express Viewer - Integrate into your application](https://pdfjs.express/documentation/get-started-viewer/manually#integrate-into-your-application)
- [Customize toolbar in viewer](https://pdfjs.express/documentation/ui-customization/customizing-header.8)
- [Manually Download & integrate PDF.js Express Plus - Integrate into your application](https://pdfjs.express/documentation/get-started/manually#integrate-into-your-application)

APIs:
- [UndefinedannotationsDrawn](https://pdfjs.express/api/namespaces.list.html#event:annotationsDrawn__anchor)
- [PDF.js Express Utilities](https://pdfjs.express/api/utils/index.html#__anchor)
- [Adding a download button](https://pdfjs.express/api/utils/tutorial-Adding%20a%20download%20button.html#__anchor)

Forums:
- [How hide annotation when toolbar group changed](https://pdfjs.community/t/how-hide-annotation-when-toolbar-group-changed/1574/1)
- [How to render xfdf back into pdf](https://pdfjs.community/t/how-to-render-xfdf-back-into-pdf/2026/1)
- [Enable annotations to be moved using arrow keys](https://pdfjs.community/t/enable-annotations-to-be-moved-using-arrow-keys/602/1)

  
  

Share how you are using PDF.js Express in your organization you could win a **$500 Amazon gift card. All participants will receive 6 months of PDF.js Express+ for free**. Learn more [here](https://utm.guru/ueQNw)

---

_[View the full topic](https://pdfjs.community/t/how-to-make-annotation-rectangle-tool-to-enable-drawing-based-on-click-of-annotate-button/2053)._
