# How to get the Current Card on the Deck Swiper Component

**URL:** <https://forum.adalo.com/t/how-to-get-the-current-card-on-the-deck-swiper-component/21071>\
**Category:** External Collections, Custom Actions & Collections\
**Created:** [December 19, 2021, 9:21pm UTC](https://forum.adalo.com/t/how-to-get-the-current-card-on-the-deck-swiper-component/21071 "2021-12-19T21:21:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![thekaliuapp](https://avatars.discourse-cdn.com/v4/letter/t/c4cdca/32.png) [@thekaliuapp](https://forum.adalo.com/u/thekaliuapp)\
**Post date:** [December 19, 2021, 9:21pm UTC](https://forum.adalo.com/t/how-to-get-the-current-card-on-the-deck-swiper-component/21071/1 "2021-12-19T21:21:29Z")

</div>

How can I get the current card that is being displayed by the deck swiper? I want to add some custom actions other than just the left and right, and I’m doing that by adding a button to the page.

However, I can’t figure out how to get the data from the current card to an action on the button.

@mike-minimumstudio @yelkhayami Can you help out?

---

<div class="post-metadata">

**Author:** ![luii](https://avatars.discourse-cdn.com/v4/letter/l/439d5e/32.png) [@luii](https://forum.adalo.com/u/luii)\
**Post date:** [January 14, 2022, 3:34pm UTC](https://forum.adalo.com/t/how-to-get-the-current-card-on-the-deck-swiper-component/21071/2 "2022-01-14T15:34:37Z")

</div>

Do you want to perform an action when the current card is selected?
